View Full Version : Clean Translate To Cluster Help Request

S. J. Tubbrit
06 June 2007, 09:50 AM

I have a control object that I want to translate to the pivot ( point snap ) of a cluster, and I'm wanting to do this through mel, but I don't want to just have the values, as in

move -rpr 0 110.933292 -5.342947 ;

I don't want this type of scripting because the cluster can be moved around in the scene, and obviously it wouldn't work past default values as in the script above, it's part of an autotic rigging system I am developing, I'm looking for a clean, easy not too technical way to achieve this snapping so tha no matter where the cluster is, the control object can be snapped to it, any help appreciated ?

06 June 2007, 11:34 AM
just use a pointcontraint with "maintain offset" turned off...

then delete the contraint.

S. J. Tubbrit
06 June 2007, 12:22 PM
Brilliant, thanks!

That's even easier to script! :)

CGTalk Moderation
06 June 2007, 12:22 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.