Skip to main content

Entity::getOffsetFromInWorldCoords

Offset values are relative to the entity.

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

Syntax​

```js entity.getOffsetFromInWorldCoords(offsetX, offsetY, offsetZ); ```

Required Arguments​

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

Return value​

  • Vector3

Example​

```js // todo ```

See also​