Vehicle::setFrictionOverride

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

In the decompiled scripts are 2 occurencies of this method. One is in the 'country_race', setting the friction to 2, whereas in the 'trevor1'-file there are 4 values: 0.3, 0.35, 0.4 and 0.65.
I couldn't really figure out any difference, but you might succeed. In that case, please edit this.

*JulioNIB: Seems to be related to the metal parts, not tyres (like i was expecting lol)

Syntax

vehicle.setFrictionOverride(friction);

Required Arguments

  • friction: float

Return value

  • Undefined

Example

// todo

See also