Entity::setHeading: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Set heading of your entity in degrees
min 0.0 - max 360.0
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">entity.setHeading(heading);</syntaxhighlight>
<syntaxhighlight lang="javascript">entity.setHeading(heading);</syntaxhighlight>
Line 11: Line 12:
</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:04, 1 May 2024

Set heading of your entity in degrees min 0.0 - max 360.0

Syntax

entity.setHeading(heading);

Required Arguments

  • heading: float

Return value

  • Undefined

Example

// todo

See also