Description
Returns model space coordinates of the object airplane or helicopter pilotCamera.
Syntax
getPilotCameraPosition object
Parameters:
object: Object
Returns: PositionRelative - offset relative to the model centre. Returns [0,0,0] if object has no pilotCamera.
Examples
Example 1
_pilotCamPos = getPilotCameraPosition vehicle player;
See also
hasPilotCamera · getPilotCameraDirection · getPilotCameraRotation · getPilotCameraTarget · setPilotCameraDirection · setPilotCameraRotation · setPilotCameraTarget