Game Development Community

wheeled vehicle/ Steering sequence.

by Matthew Jones · in Artist Corner · 12/29/2002 (5:30 am) · 2 replies

The script, CAR.cs refers to the steering angle as matching the animation. How do you scale the degrees of turning between torque and MAX. Are they the same reading in the Motion/rotation/Key info panel? What Axis is it looking for? Z ? Is the measurement that torque is looking for the difference between the existing and the rotated wheel or the the total of both.

I am playing with it to see how it works out but I was hoping someone might fill me a bit.

Thanks much
Matt

#1
12/29/2002 (11:49 pm)
As far as I remember it works like the spring animation.
The frame 0 of the animation is full left and the frame 1 is full right(Or the opposite). The engine compute the angle by itself. I think that the compute angle is compute around the Z axis.
#2
12/30/2002 (4:01 am)
OK thanks

Matt