Method NeedsShiftUp
NeedsShiftUp(float, float)
Check if the current speed and RPM are above the threshold required to shift up the gear box. Used for automatic shifting, or to check if the car needs to shift up for assisted manual shifting.
Declaration
public bool NeedsShiftUp(float atKMH, float atRPM)Parameters
| Type | Name | Description | 
|---|---|---|
| float | atKMH | Current car speed | 
| float | atRPM | Current engine RPM | 
Returns
| Type | Description | 
|---|---|
| bool | Returns either true or false. | 
