Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python script to bake Segment Scale Compensate result?

0 REPLIES 0
Reply
Message 1 of 1
matveev7ly7nikita172
295 Views, 0 Replies

Python script to bake Segment Scale Compensate result?

I have already make many animations using Segment Scale Compensate, but I need to import these animations to Unity, unfortunately, while SSC is enabled, animations won't work normal in Unity.
Since I have many animations, I don't want to modify these manually, so I need a script to turn off SSC and keep animation unchanged.
Does anyone know how to do that?

 

Example fbx file in attachment

zzz.jpg
Bip001_Spine2_M's scale is (1, 2, 2)

child bone Bip001_Clavicle_L turn off SSC, so it got a bad scale
child bone Bip001_Clavicle_R turn on SSC, so it got a good scale, I will to keep this result after turn off SSC.
I try to lower Bip001_Clavicle_R's scale, but since its scale axis is diffrent to parent's scale axis, so that's not going to work.
I think it need some matrix operation, but I am really a noob at matrix math, I spent many hours and still got nothing, really need help.
Thanks!

Tags (2)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report