Entity::getOffsetFromInWorldCoords

From RAGE Multiplayer Wiki
Revision as of 17:53, 1 May 2024 by Shr0x (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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