ConvertWorldToLocalPosition()

Syntax

ConvertWorldToLocalPosition(ObjectID, x, y, z)
Description
Converts the world x,y,z coordinates into local coordinates. GetX(), GetY() and GetZ() will be used to get the converted coordinates.

Parameters

ObjectID The object ID to convert the coordinate from. It can be one of the following type:
  - Camera         : use CameraID() to get a valid ID.
  - Entity         : use EntityID() to get a valid ID.
  - Light          : use LightID() to get a valid ID.
  - Mesh           : use MeshID() to get a valid ID.
  - Node           : use NodeID() to get a valid ID.
  - ParticleEmitter: use ParticleEmitterID() to get a valid ID.
  - BillboardGroup : use BillboardGroupID() to get a valid ID.
  - Text3D         : use Text3DID() to get a valid ID.
x, y, z The world coordinates to convert.

Return value

None.

See Also

ConvertLocalToWorldPosition()

Supported OS

All

<- ConvertLocalToWorldPosition() - Engine3D Index - CreateWater() ->