I need to move a grandchild object to a given target postition and orientation in world space. The grand child (child 2) has to be moved by manipulating the grandparents (root) position and rotation.
If I have a given world matrix of the target, what matrix do I have to apply to the grandparent to make the grandchild match the target?
after transformation, child 2 moved to target
My question is different since I'm not lopking for a "usable IK System". I just need to compute the matrix of a grandparent. I gained into your answers, but none of them seemd to evaluate the right matrix. In the mean time I figured out a working solution. I'll do some cleanup in my code and post it.