Actually it’s not mel/python/c++ question but I think this is the place where I think I will get answer.
Trying to figure out how matrix nodes are working.
I have a hierarchy of two locators. locator2 is child of locator1.
I have third object - sphere. I need parent constraint sphere to both locators. I have multiplied locator1 world matrix by locators2 world matrix with matrixMult node then connect result to decomposeMatrix node. This last node I have connected to sphere(translate). Of course when I translate locator1 I get double transformation because of multiplying of matrices. How do I divide locator1 world matrix?
Working With Matrix Nodes
G.H.O.S.T
#1
uiron
#2
For future, move this to character setup section.
What kind of behavior do you expect? What happens when both locators move?
To me this sounds like you should either go with simple constraints, or premultiply with inverse parent matrix (or just use local matrices).
G.H.O.S.T
#3
Thanks Viktoras,
With parent matrix/inverse parent matrix works fine.
Next time I’ll post it in character setup.