View Full Version : Determining an absolute position of the joint

11 November 2006, 08:52 PM
Hi. I'm trying to write a script that'll autorig my character for me. I was wondering how would you fetch the position of a joint in the absolute space - I need it toposition a pole vector properly. getAttr gives it to me in the relative space, so it doesn't work right. Thanks a lot!

11 November 2006, 09:54 PM
float $pos[] = `xform -ws -query -translation $node`;

11 November 2006, 10:58 PM
Thank you!

CGTalk Moderation
11 November 2006, 10:58 PM
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.