Skip to content

Instantly share code, notes, and snippets.

@splinecraft
Created July 14, 2018 20:06
Show Gist options
  • Save splinecraft/d7a17f353aac28c4dcfab7fbd6a9c98e to your computer and use it in GitHub Desktop.
Save splinecraft/d7a17f353aac28c4dcfab7fbd6a9c98e to your computer and use it in GitHub Desktop.
Are your characters doing weird scale things in Unity coming from Maya? It's probably the Segment Scale Compensate on joints causing your problems. Segment Scale Compensate is on by default every time you make a new joint. You can learn more about Se
{
string $selected[] = `ls -type joint`;
select -r $selected;
}
string $sel[] = `ls -sl`;
string $singleJnt;
for ($singleJnt in $sel)
{
setAttr ($singleJnt + ".segmentScaleCompensate") 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment