3 part cylinder rig

Become a member of the CGSociety

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

 
Thread Tools Display Modes
  02 February 2018
3 part cylinder rig

Got following problem while trying to rig the cylinder. Did the outer parts like normal with look at constraints. But how do i do the middle part, so it moves like with half the speed of the others?
Thanks alot guys!

 
  02 February 2018
Give it a position script controller with a "(position_of_piston_1+position_of_piston_3)/2" expression.

Last edited by KaaF : 02 February 2018 at 03:52 PM.
 
  02 February 2018
Thanks, gonna try that. Never worked with scripts before,dont know how tho, but will find it out ^^ any other ideas?
 
  02 February 2018
"(a+b)/2" is all you need to type where 'a' and 'b' are variables with the position tracks of the dummies assigned to them:

Test:
https://streamable.com/0sip3
 
  02 February 2018
pretty basic link/lookat would have thought...

https://1drv.ms/u/s!AvgNse7E8aaygzb51xcschjo_fmn

just move the 2 end point helpers around...

The middle helper has Position Constraint, the 2 things controlling it are naturally the 2 end helpers, by default it's set at 50/50....boy, can't get any easier...didn't have to do anything extra really...the only thing is to set the pivot of your middle cylinder to centre, not at base.


Last edited by vusta : 02 February 2018 at 10:40 PM.
 
  02 February 2018
Thanks thats an easy way ^^
 
  02 February 2018
cool...of course if you have more middle tubes than just one, then you can split the weight from default 50/50 to 60/40 or 70/30....whatever...easy...
 
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 10:09 PM.


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