Vehicle::rotation

From RAGE Multiplayer Wiki
Revision as of 18:21, 5 January 2017 by Niks (talk | contribs) (Created page with "This property using for getting or setting vehicle rotation. '''Note: this property is read-only.''' == Example == <source lang="javascript"> let rotation = vehicle.rotation...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This property using for getting or setting vehicle rotation.

Note: this property is read-only.

Example

let rotation = vehicle.rotation
vehicle.rotation = new mp.Vector3(0, 0, 90)