I’m using this callback:
MDagMessage::addWorldMatrixModifiedCallback(
dagPath,
onWorldMatrixChange,
this
);
But I noticed :
this callback is NOT triggered every time the parent matrix of the object changes.
And according to the documentation:
“Maya WON’T call the callback if the trigger node’s transformation is dirty.”
This means:
If the parent transform changes multiple times before Maya evaluates the graph, Maya will only call the callback once — the first time the dirty flag appears.
Any additional changes that happen while the parent’s transform is still dirty will NOT trigger the callback.
and i need a way to catch the worldMatrix change immediately the moment it happens
thanks all.