Description
Sets the direction of airplane's or helicopter's pilotCamera.
Syntax
object setPilotCameraDirection vector3D
Parameters:
object: Object - a vehicle equipped with pilot cameravector3D: Vector3D - in model space, relative to the model centre (In a similar fashion to PositionRelative)
Returns: Nothing
Examples
Example 1
vehicle player setPilotCameraDirection [0,1,0] // re-centers the camera
See also
hasPilotCamera · getPilotCameraPosition · getPilotCameraDirection · getPilotCameraRotation · getPilotCameraTarget · setPilotCameraRotation · setPilotCameraTarget