setSteeringValue method

void setSteeringValue(
  1. double value,
  2. int wheelIndex
)

Set the steering value of a wheel.

Implementation

void setSteeringValue(double value, int wheelIndex){
  final wheel = wheelInfos[wheelIndex];
  wheel.steering = value;
}