Returns a world position (above ground level), relative to the object origin, and taking into account its direction.
An offset of [0,0,0] returns the current, absolute position, including any elevations (for example, when positioned on top of another object).
|Syntax:||object modelToWorld offset|
|Return Value:||PositionAGL - Position in world coordinates.|
From the player position and the direction the unit is facing, returns a position 5m to the left, 10m in front, and 1m above:
Places obj1 10m in front of the player:
|See also:||worldToModel, modelToWorldASL2|