PDA

View Full Version : problems rotating constraint/keyframed object


MrMint
06-17-2009, 04:47 PM
Hi :),

I hope this is somewhat easy to fix.
I have a rigged character holding a windup-toy in the left hand and should wind up the toy with the other hand.

I posed the right hand accordingly and made a null-node (moved to the pivot of the windupgear (?) where I parent constrained the hand that should wind and the gear and the gear itself and point constrained the other hand which holds the hole toy (which is parent constrained to the hand).

It seems to work pretty good. When I am moving the null-node everything is following it and if I rotate the node on the certain axis it looks like the right hand is winding up the toy. (the hand ctrl is accordingly rotating and translating as if I moved and aligned the pivot-point)

But if I play the animation both, the windup-gear and the hand are rotating in a strange way. I may understand if only the hand behaves like that as the null-node has the same position and orientation like the gear.

I hope I explained it understandable. So here is what I did in an overview

1. created the null-object
2. parented under the windup-gear and zeroed out translation and rotation
3. unparented it
4. Parent-constraint the right-hand_ctrl to the null-node (maintain offset)
5. Parent-constraint the gear (maintain offset)
6. Point-constraint the left hand (maintain offset)
7. Disabled the pairblend that only the constraint has influence
(both hands were also parent-constraint to the toy-group with offset for picking up the toy)

Any suggestion would be really great. It was so easy to setup at the first glanze but now I am stuck with this little rotation problem since 2 days.

Cheers

Edit:
I did a quick screen-capture as "rotating strange" can mean anything. And because of lack of vocabulary I think it would be better to provide you with this link:

http://rapidshare.com/files/245637279/clip0005.avi.html

Edit2:
I was thinking of something like this
http://www.jabimation.com/tutorials/2009/1/30/grabbing-and-releasing-objects-the-easy-way.html

mechaniac
06-20-2009, 10:36 AM
one important thing to consider is, you canīt constrain a node AND set keys on it. the channels are either driven by the constrain or by keys. So if you want to have your hand animated AND following another node you need to create a group on top of the hand node and constrain this one.
donīt know if you did this anyway. just a hint.

MrMint
06-20-2009, 10:47 AM
Hi mechaniac,

thank you for your answer.
Maybe I have missunderstood something but I thought that the pairBlend-Node created by constraining a keyframed object give me the possibility to weight the influence to determin if the constraint or the keyframe has the greater impact on the animation.

CGTalk Moderation
06-20-2009, 10:47 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.