Constraint on/off, attributes updating along

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Display Modes
  04 April 2018
Constraint on/off, attributes updating along

Hello you all !

Not sure that the title is self explanatory, so here is what i am trying to achieve :

I have character holding a ball that I want him to be able to play with.
For exemple, i want him to hold the ball, throw it in the air, make a step forward and catch it back.


The ball is skinned to a bone parented to ball_ctrl, (it is referenced to the world)
handFollow_loc, parent constrained to wrist_ctrl is used as the spot for the ball to be when holded, ( the locator is referenced to the world)

The ball_ctrl is parent constrained by handFollow_loc
ball_ctrl has an attribute "handFollow" that turns this constraint on and off


When the handFollow attribute is on, the ball sticks to the hand.
When the handFollow attribute is off, I can freely animate the ball, independant to the hand.
And it sticks back to the hand when turned back on.

Now same thing but if I move the hand :



When handFollow is turned off, the ball sticks back to the original spot [3].
I would like, when handFollow turned off, the ball to stay in place, on the handfollow_loc so I can animate it from the hand !


Both handFollow_loc and ball_ctrl are referenced to the world.
Is there a way for the parent constraint to be shut off and for the ball to update its transform attributes to the handFollow_loc new transform attributes ?

Thanks for your time !
 
  04 April 2018
please unbind the ball to joint and parent to both ball ctrl and hand hand ctrl or hand follow loc in the parent constraint attribute you show two node you add set driven key according to your follow
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 07:09 AM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.