Entity::getPhysicsHeading: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 10: Line 10:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 18:05, 1 May 2024

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