Entity::getForwardVector: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Gets the entity's forward vector.
Gets the entity's forward vector.
(Similar to [[Camera::getDirection|Camera.getDirection]])
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">entity.getForwardVector();</syntaxhighlight>
<syntaxhighlight lang="javascript">entity.getForwardVector();</syntaxhighlight>
Line 10: Line 11:
</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 17:52, 1 May 2024

Gets the entity's forward vector. (Similar to Camera.getDirection)

Syntax

entity.getForwardVector();

Required Arguments

Return value

  • Vector3

Example

// todo

See also