PDA

View Full Version : Constraint question!


[DTZ]
01-18-2003, 10:11 AM
Hi again,

A little contraint question this time, any help would be appreciated! :)

I'm wanting to create a 'toggable-link'.
In otherwords a regular parent-child link with the ability to toggle if the child object is linked to (and so follows) the parent object.

I'm kinda half-way there... i've got the 'toggle' working, using a position contraint and a boolean controller... however when the controller is set to 'off' i am unable to move the 'child' object (due to the contraint i guess?).

Any ideas? Did this even make sense!? :surprised :)

Thanks!

[DTZ]:

LFShade
01-18-2003, 06:15 PM
What you can do is position constrain the object to two targets. Instead of toggling with a boolean, you can use a slider to weight between the two constraint channels. You still can't move the object with the constraints on it, but you can instead move the objects it's constrained to, and that might give you something close to what you want. You'll want it to be weighted instead of toggled, since a simple on/off switch will cause the constrained object to "jump" between the two constraints; probably not what you want.

BrandonD
01-18-2003, 07:49 PM
The Link Controller will allow you to animate parenting. It's a top-level constraint that sits above your Pos/Rot/Scale transforms.

[DTZ]
01-19-2003, 03:45 PM
LFShade, BrandonD; Thanks for the help!

I think I'm over complicating this... 'all' I'm trying to do is have a 'toggable' grip,

eg. when a hand is gripping an object.. I'm wanting to move/key the hand movements and for the gripped object to follow. Then, when the hand has released the object, for both objects to be independant from one another and animatable as individual objects.

Thanks! :)
[DTZ]

CGTalk Moderation
01-14-2006, 05: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.