Skip to main content

Vehicle::setEngineTorqueMultiplier

<1.0 - Decreased torque =1.0 - Default torque >1.0 - Increased torque

Negative values will cause the vehicle to go backwards instead of forwards while accelerating.

value - is between 0.2 and 1.8 in the decompiled scripts.

This needs to be called every frame to take effect.

Syntax

``` vehicle.setEngineTorqueMultiplier(value); ```

Required Arguments

  • value: float

Return value

  • Undefined

Example

See also