Page 1 of 1

How do I animate constraints?

Posted: Fri Jun 10, 2011 10:23 am
by keepfungus
Hi everybody,
let's say I want my character to pick a glass of water. Is there any way to move the arm reaching the glass, let the glass stick to the hand and follow the position of the hand. In other words: is there any way to constrain an object to a bone (or another object) and animate the constraints (something like on/off)?

Thanks

Keepfungus

Posted: Fri Jun 10, 2011 10:43 am
by ponysmasher
No, there's no way to animate constraints. What you could do is have two hands in a switch layer, one empty hand and one holding the glass, and then at the right moment make the glass invisible and change the hand to the one with the glass.
That's how I do it.

Posted: Fri Jun 10, 2011 11:26 am
by keepfungus
Do you think it would be possible to do it with a script?
I think it's vital feature for an animator and it's more time saving, more flexible and more precise than a switch.

Thanks

Keepfungus

Posted: Fri Jun 10, 2011 12:01 pm
by slowtiger
You're not asking about constraints, but about "dynamic bone binding in the middle of a scene". Nope, not possible.

But it's quite simple to duplicate any object, one attached to a hand (bone), the other standing on the table, and just switch visibility the moment the hand grabs it.