Description
Returns model space vector of the object airplane or helicopter pilotCamera .
Syntax
getPilotCameraDirection object
Parameters:
object: Object
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