Community
Maya Animation and Rigging
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya animation topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Car Wheel rotation

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
1038 Views, 2 Replies

Car Wheel rotation

Hi guys, 

I have a question, why the wheel when translate in the negative axes like -90 Y, start to works in the opposite way than the vehicle direction? I used this expression to animate the wheels: 

L_F_Tire.rotateX = Root_CTRL.translateZ + Root_CTRL.translateX;

L_B_Tire.rotateX = Root_CTRL.translateZ + Root_CTRL.translateX;

R_F_Tire.rotateX = Root_CTRL.translateZ + Root_CTRL.translateX;

R_B_Tire.rotateX = Root_CTRL.translateZ + Root_CTRL.translateX;

 

Labels (1)
  • rig
2 REPLIES 2
Message 2 of 3
mcw0
in reply to: Anonymous

Rotation should not be driven by an explicit translation channel.  It should be a function of distance.

Message 3 of 3
mcw0
in reply to: Anonymous

Sorry for the short answer.  Something came up.  Here's a better explanation.  You want to measure the distance traveled.  Usually, a curve is used as you can get the arclength of the curve at any point along the curve.  Divide that by the circumference of your wheel and then multiply by 360.  That's the quick and dirty way to do wheels.

 

The optimal way would be to add incremental rotation frame by frame.  This approach allows you to do burnouts and to accelerate and decelerate.  The first method will have very apparent issues if you change your speed.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report