setPilotCameraDirection

From Bohemia Interactive Community
Revision as of 11:49, 8 November 2023 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sets the direction of airplane's or helicopter's pilotCamera.
Groups:
Pilot Camera

Syntax

Syntax:
object setPilotCameraDirection vector3D
Parameters:
object: Object - a vehicle equipped with pilot camera
vector3D: Array in format Vector3D - in model space, relative to the model centre (In a similar fashion to PositionRelative)
Return Value:
Nothing

Examples

Example 1:
vehicle player setPilotCameraDirection [0,1,0] // re-centers the camera

Additional Information

See also:
hasPilotCamera getPilotCameraPosition getPilotCameraDirection getPilotCameraRotation getPilotCameraTarget setPilotCameraRotation setPilotCameraTarget

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note