applyEngineForce method

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

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

Implementation

void applyEngineForce(double value,int wheelIndex){
  wheelInfos[wheelIndex].engineForce = value;
}