Entity::getPhysicsHeading

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

Gets the heading of the entity physics in degrees, which tends to be more accurate than just 'GET_ENTITY_HEADING'. This can be clearly seen while, for example, ragdolling a ped/player.

NOTE: The name and description of this native are based on independent research. If you find this native to be more suitable under a different name and/or described differently, please feel free to do so.

Syntax

entity.getPhysicsHeading();

Required Arguments

Return value

  • float

Example

// todo

See also