Vehicle::setBikeLeanAngle

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)

Only works on bikes, both X and Y work in the -1 - 1 range.

X forces the bike to turn left or right (-1, 1)
Y forces the bike to lean to the left or to the right (-1, 1)

Example with X -1/Y 1
http://i.imgur.com/TgIuAPJ.jpg

Syntax

vehicle.setBikeLeanAngle(x, y);

Required Arguments

  • x: float
  • y: float

Return value

  • Undefined

Example

// todo

See also