PDA

View Full Version : reset joint axis


sabathyus
09-23-2006, 08:49 AM
does anyone know how to reset the local rotation axis on a joint if it's been "orient joint" or otherwise manipulated? I'm trying to find a way to script this in. Basically, I want it to match the view axis ( Y to point up, z to point front, x to point side)

ephemeros
09-24-2006, 02:31 AM
if you want to reset (in fact freeze) use freeze transforms with joint orient oprtion. the command used on the root joint is:
makeIdentity -apply true -jointOrient joint1;

sabathyus
09-26-2006, 05:50 AM
oh, THAT'S what that command does. Perfect. Thanks.

CGTalk Moderation
09-26-2006, 05:50 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.