Friday 9 June 2017

Maya Segment Scale Compensate for Joint

Segment Scale Compensate option in Maya Joint Tool

What is Segment Scale Compensate?

When this option is checked on in the joint creation option box, it creates a weird scaling of the child joints.

Where does it affect and How it looks?



It affect the character volume when it is scaled globally using the rig like in the image. It also affects when the rig is taken from maya to max or game engine like unity.

How to fix?
Create the joint with segment scale compensate checkbox OFF.

If the rig is already created, use the following MEL to select the joints affecting the skinCluster.

select -r `skinCluster -q -inf`;

As each joint's segment Scale compensate checkbox has to be unchecked individually, use this MEL code.
string $sel[]=`ls -sl`;
for($i=0;$i<size($sel);$i++)
{    
    setAttr ($sel[$i]+".visibility") 0;
    setAttr -lock true ($sel[$i]+".v");
}
Now the Scale is set to work at any value.

Thanks! Please share, comment and subscribe by email for updates!

No comments:

Post a Comment

New Post

Rigging Mentorship

 Contact for Mentorship:      E-mail : shinyprem@gmail.com