Arma 3 Scripting

getPilotCameraDirection

  • Local argument
  • Arma 3 v1.64

Command · Markdown · JSON · original wiki page

Description

Returns model space vector of the object airplane or helicopter pilotCamera .

Syntax

getPilotCameraDirection object

Parameters:

Returns: Vector3D - relative to the model centre (In a similar fashion to PositionRelative). Returns [0,0,0] if object has no pilotCamera.

Examples

Example 1

_pilotCamVector = getPilotCameraDirection vehicle player;

See also

hasPilotCamera · getPilotCameraPosition · getPilotCameraRotation · getPilotCameraTarget · setPilotCameraDirection · setPilotCameraRotation · setPilotCameraTarget