How to recalculate a rotation angles from one coordinates system to another? The task is to calculate a rotation angles from an A object in a world coordinates to a B object which placed under some transform node, free oriented relative a world's coords. I need a real solution on Maya API. Thanx.
you can get the local rotation angles staight from Maya. To get world rotation angles, you'd have to transform this object's rotation angle with it's parents, and then it's parent's parent, and so on..
Thank you. But i need a reverce solution. I know how to obtain a rotation angles in a world coordinates - it's easy - getRotation(...MSpace::kWorld). But i need to recalculate an angles from world coordinates to a local system coordinates.