Description
Sets rotation (relative to the centered camera position) of the object airplane or helicopter pilotCamera .
Syntax
object setPilotCameraRotation rotation
Parameters:
object: Objectrotation: Array - [x,y] - format [yaw (turn), pitch (elevation)]. Values are in radians, positive values are left yaw and down pitch from the center.
Returns: Nothing
Examples
Example 1
vehicle player setPilotCameraRotation [rad 90, rad 45];
See also
hasPilotCamera · getPilotCameraPosition · getPilotCameraDirection · getPilotCameraRotation · getPilotCameraTarget · setPilotCameraDirection · setPilotCameraTarget