View Full Version : Xform problem : absolute translation
Nicool 05-02-2004, 09:42 AM Hye,
float $pjt[] = `xform -q -a -ws -t $parentJoint`;
THis expression does not retrun me the absolute translation of a parented objet (I thought absolute returns the worl absolute location of a transform node :( ) Help me ! :blush:
|
|
Nicool
05-02-2004, 09:48 AM
Got a reply here : http://www.cgtalk.com/showthread.php?s=&threadid=82334&highlight=xform
the expression given : xform -q -ws -t objectName; does not work to me :(
dwalden74
05-02-2004, 03:51 PM
the expression given : xform -q -ws -t objectName; does not work to me
Yeah, when you freeze translation on an object, this no longer works. You should query the rotatePivot position instead, which is always a worldspace value:
xform -q -ws -rp objectName;
CGTalk Moderation
01-18-2006, 04:00 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.