How do I animate constraints?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
keepfungus
Posts: 62
Joined: Fri Jun 10, 2011 10:15 am
Location: Rome, Italy
Contact:

How do I animate constraints?

Post 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
ponysmasher
Posts: 370
Joined: Thu Aug 05, 2004 2:23 am
Location: Los Angeles
Contact:

Post 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.
User avatar
keepfungus
Posts: 62
Joined: Fri Jun 10, 2011 10:15 am
Location: Rome, Italy
Contact:

Post 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
User avatar
slowtiger
Posts: 6255
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post 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.
Post Reply