Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.00

Description

Description:Returns an object's rendered position, for the current frame.

This can differ from what regular getPos commands report, since those commands return the position in the next frame.
Player units, or player-occupied vehicles are normally rendered as often as they are simulated, so for those cases the returned values of visiblePosition and getPos should be the same, but for AI-occupied vehicles, especially if they are fast-moving, the difference can be significant (i.e. up to several meters).

Syntax

Syntax:visiblePosition object
Parameters:
Return Value:PositionATL

Examples

Examples:
_renderPos = visiblePosition plane1

Additional Information

See also: getPos
Multiplayer: 
Problems: 

Notes