sorry i badly explained myself (don't have the code with me right now )
I'm actually not writing a field but an MPxNode that can be connected to a field
so on my node I have the attributes :
output attr : fieldData (containing pos,vel,mass and deltatime)
input attr : inputForce (vectorArray)
these two attributes are connected to the inputData and outputForce attribute of the field.
my node also has a position output that I connect to locators.
My problem is, i have set a
attributeAffects(inputForce,outputPositions);
and when I get pulled on the compute() method for the outputPositions,
I query the value of the inputForce attribute, and I suppose that for the field
to send me the correct data it needs to pull on its inputData (so my fieldData) attribute.
But that does not happen ...
and I did check the clean status of the inputForce plug and it is always dirty, my guess is
the field doesn't get a clean on its inputData attribute so it cannot set the outputForce to clean,
but since I'm not called for the fieldData, I cannot set it to clean ...
sorry i know it's a bit confusing, I'll try and post some code tonight if I need to make it clearer.
Thanx !!