1

I'm trying to make a pymel script in Maya where I want to transfer an animation from one rig to another. Right now the script is transferring the keyframes from the orignal rig to the other, but it ignores the joint orientation. I have the mathematical formulas but I am unsure of how to use them in Pymel, since it's not my primary language.

The Formula: "s" is for the rig source and "t" is for the targeted rig.

As of now I have the isolated Rotation, but I am unsure of how to get the worldSpaceRotation and translatedRotation.

If anyone could help or give me some pointers that would be deeply appreciated! I can send my current code if needed.

Haplue
  • 70
  • 9
  • It would help if you posted your code. The usual beginner or intermediate level approach to this would be to do this with constraints, rather than redoing the math since doing this for every joint, every frame in Python will be a bit slow. – theodox Jul 25 '17 at 21:31
  • I think I have to use maths, since this is an assignment from school I have. – Haplue Jul 26 '17 at 13:00

0 Answers0