Entity::getPhysicsHeading

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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