|
Hello,
I’m currently rigging my first car. I assigned a controller to the tires using a float script and “currenttime” as the expression.
When I put the wheels to turn when moving at a specific time everything is fine. however, I can’t get the wheels to stop rotating when I stop the car? Any ideas? i will continue my quest for this question. but any suggestions or ideas would be appreciated.
Kindly,
J.T.
|
|
|
|
Well currentTime is needed but you also need to calculate the distance traveled from the last frame to the current frame. You then need to add that rotation value to the last rotation value. This is the additive method for dealing with wheels. It is the best method in my opinion but you still have more work that you have to do to make it work. You also need to know if the car is moving forward or backwards because the distance will not give you that you can use the dot product of two vectors as a multiplier.
Paul Neale
PEN Productions Inc.
penproductions.ca / paulneale.com
Master Classes for Max, Mudbox and Composite
DotNet Tutorials
MX Driver Car and Trailer Rig On Sale!
|
|
|