setWheelForce method

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

Set the wheel force to apply on one of the wheels each time step

Implementation

void setWheelForce(double value, int wheelIndex) {
  wheelForces[wheelIndex] = value;
}