Перейти к содержанию

Entity::getPhysicsHeading

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">entity.getPhysicsHeading();</syntaxhighlight>

Required Arguments

Return value

  • float

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also