I'm a 2nd year student at the University of Hertfordshire, and I am currently pulling my hair out because I can't seem to find a way to get my code to work. I'm creating a tool, for my coding class so it has to be in python, that will export everything in my Maya scene as FBX files that will be translated at the world…
Try quering the xform of one of the pivots iirc. Might have been scale or rotational pivot. Sorry dont have maya on hand. O and use the world space flag.
https://dl.dropboxusercontent.com/u/106392535/unFreezeTranslate.py Run that before you export to fix any offset problems due to frozen translate values. Objects that have been frozen outside of the origin, will be moved back to the origin, frozen there, and then moved back to their initial position. Polycount dev: Why is…
I do it same way Haiddasalami mentions. Check out the Pivot section under the transform node(not the shape that is). It retains the original values in the rotation/scale pivots. There are other hacky ways to do it, but this one I find to be the easiest and cleanest. If for some reason you would have 0,0,0 rotate/scale…