PDA

View Full Version : Edit point on a curve location


Zerflag
04-24-2007, 06:18 PM
Hey, is there a way I can query the location of an edit point on a curve?
xform -q -ws -rp theCurve.ep[currentIndex] just returns 0 0 0 no matter where the ep is in space.
Anyone know of another way to do this?
Thanks.

GennadiyKorol
04-24-2007, 07:32 PM
You could use xform with -query -ws (world space) -t (translation) flags. Or pointPosition which is a bit faster.

HapG
04-24-2007, 07:34 PM
use a transform query instead of rotate pivot query:

xform -q -ws -t theCurve.ep[currentIndex]

Zerflag
04-25-2007, 04:44 PM
dur, thanks guys.

CGTalk Moderation
04-25-2007, 04:44 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.