Пример #1
0
 //Uses the calculateSpeed function of the wheels to calculate the wheel speed.
 private void CalculateWheelSpeed()
 {
     wheelSpeed = 0;
     CarController.resetSpeed();
     wheelSpeed = Wheel.CalculateSpeed(CarController.speed);
 }