Entity::getSpeedVector: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 11: 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 18:04, 1 May 2024

Relative can be used for getting speed relative to the frame of the vehicle, to determine for example, if you are going in reverse (-y speed) or not (+y speed).

Syntax

entity.getSpeedVector(relative);

Required Arguments

  • relative: Boolean

Return value

  • Vector3

Example

// todo

See also