// Update is called once per frame void Update() { if (this.GetCurrentGearActual() == 0 && this.GetCurrentSpeedKMH() == 0) { wheelLR.Burnout(this.GetCurrentRPM(), this.GetRedlineRPM(), this.GetMinRPM()); wheelRR.Burnout(this.GetCurrentRPM(), this.GetRedlineRPM(), this.GetMinRPM()); this.currentGearReading = 1; } else { wheelLR.BurnoutStop(); wheelRR.BurnoutStop(); // Rotate the wheels wheelLF.Spin(v); wheelLR.Spin(v); wheelRF.Spin(v); wheelRR.Spin(v); this.currentGearReading = currentGearActual; } }