Entity::getRotation

From RAGE Multiplayer Wiki
Revision as of 15:34, 30 March 2021 by Unknown (talk | contribs)

Syntax

entity.getRotation(rotationOrder);

Required Arguments

  • rotationOrder: Int (specifies which axis rotates before the other axis in a certain order)

Rotation Orders

  • 0: ZYX
  • 1: YZX
  • 2: ZXY
  • 3: XZY
  • 4: YXZ
  • 5: XYZ

Return value

  • Vector3

Example

// todo

See also