Перейти к содержанию

Entity::getOffsetFromInWorldCoords

Материал из RAGE MP Wiki Archive

Offset values are relative to the entity.

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

Syntax

<syntaxhighlight lang="javascript">entity.getOffsetFromInWorldCoords(offsetX, offsetY, offsetZ);</syntaxhighlight>

Required Arguments

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

Return value

  • Vector3

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also