Wire Parameters, Two different objects effects one object.

Wire Parameters, Two different objects effects one object.

sdeters
Advocate Advocate
1,138 Views
3 Replies
Message 1 of 4

Wire Parameters, Two different objects effects one object.

sdeters
Advocate
Advocate

I have two different objects lets say LH and RH.

 

I have another object lets call it a teapot.

 

What I am trying to get to is, when I move a LH and/or RH object in the X direction, the teapot will rotate only 30 degrees .

 

If I move both LH and RH objects by 30 inches it will rotate Teapot by 30 degrees , if I only move the LH 30 inches, I still want the teapot to rotate 30 degrees.  Also if I move the LH 15 and the RH 10 I would like the teapot rotate 15 degree,  Or the largest of the two movements.

 

Wire parameters do not seem to work well here.  Is there another way to tackle this small rigging puzzle? 

 

Thanks

 

0 Likes
1,139 Views
3 Replies
Replies (3)
Message 2 of 4

leeminardi
Mentor
Mentor

You can have logic statements in an Expression Controller or a Script Controller but neither will make a decision based  on a delta move.  Absolute positions or rotations can be used.

 

Is the rotation of teapot proportional to the position of LH and/or RH whichever is larger?  If so something like this might work:

pc1.JPG

This will rotate teapot base on the Y coordinates of LH and RH.  This may not be what you want to do but it may give you an idea of what is possible with an expression controller.

   

lee.minardi
0 Likes
Message 3 of 4

sdeters
Advocate
Advocate

Thanks for the feedback

 

 what I am trying to show is how a differential works with miter gears.

 

I have the miter gears working well.  I have the shafts spinning well.

 

Imagine applying the gas on the car one axle spins the other does nothing, or the car going around the a corner, one tire spins faster than the other but the pedal still only goes down half way.

 

I will review your solution.  thanks

 

 

0 Likes
Message 4 of 4

leeminardi
Mentor
Mentor

Here's an approach that might work for you. I do not have all the details worked out but I thought I'd share my thinking.

 

I made a quick crude model of a differential and added a checker pattern to help see the spinning of the "gears".  The model uses the z value of a dummy to determine the ratio of the turning of the two gears connected to the wheels.  If z = 1 the two gears spin at the same speed as well as the differential pinion. Set z = 2 for the dummy and one gear spins faster than the other. Try it out by rotating the driveshaft and seeing the action of the side gears for different values of z (but not z = 0).  Some additional ratios have to be considered to make this fully functional.

gear1.JPG

 

 

lee.minardi
0 Likes