|
Hello,
I’m looking for the best workflow to load animation on characters (for instance, to the rotate / translate of the bones). This workflow must be able to be replicated with a script.
Let’s take a scene with two characters. Basically, the base name of the bones are the same, but they are differentiated by a namespace. What’s is the way to load the same animation to any of the characters?
The only workaround I’ve found is to save the animation on bones with a dummy namespace. Then rename the maya namespace this the dummy one, import fbx in update only mode, then rename the dummy namespace to the initial one. But I find this procedure too tedious… And I don’t know if the renaming procedure withing maya is harmless.
Thanks!
NB: I’m using the maya.cmds.namespace(rename=("char1", “dummy")) python command for this purpose.
|
|
|