Entity::setHeading: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
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>

Revision as of 14:10, 17 May 2020

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