Entity::getOffsetFromInWorldCoords: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 13: Line 13:
</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:53, 1 May 2024

Offset values are relative to the entity.

x = left/right
y = forward/backward
z = up/down

Syntax

entity.getOffsetFromInWorldCoords(offsetX, offsetY, offsetZ);

Required Arguments

  • offsetX: float
  • offsetY: float
  • offsetZ: float

Return value

  • Vector3

Example

// todo

See also