public void ApplyWheelForce( WheelCollider wheel, float gasScale, float brakeScale, float turning) { if (!wheel.get_isGrounded()) { return; } wheel.set_motorTorque(gasScale * this.motorForceConstant); wheel.set_brakeTorque(brakeScale * this.brakeForceConstant); wheel.set_steerAngle(45f * turning); }