Vehicle::setEngineTorqueMultiplier

From RAGE Multiplayer Wiki
Revision as of 23:49, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<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

// todo

See also