Feedback

What's your question?

By: Asked from India

values before freeze transformation

in maya, after freeze transforming an object, it occurs, not possible to change the pivot to local axis. It gets world axis values. how is it possible to get the pivot to 4local axis .

Add comment viewed 117 times Latest activity 9 months ago

NN comments
knishua
-

localScale and localPosition help get the scale and translate values for a locator. howz it possible to get rotate values for any object

knishua
-

ok, is it possible to get values prior to freeze transformation

or Cancel

1 answer

  • 0

julian [ Admin ]

You can freeze translation, rotation, and scale separately. Sounds like you want to freeze only the translation. See the Freeze Transform –> option window.

If that’s not what you want, then you could use the xform command to get the local or worldspace rotation before you freeze, like so (MEL):

float $r[] = `xform -q -a -rotation pSphere1`;

then freeze:

makeIdentity -apply true -t 1 -r 1 -s 1 -n 0 pSphere1;

then adjust the rotate axes with those values you saved:

rotate -a -os $r[0] $r[1] $r[2]  pSphere1.rotateAxis;

I didn’t test this heavily, but certainly the xform command and the rotate command will come in handy.

NN comments
knishua
-

thank you

or Cancel