{"name":"setPilotCameraDirection","operator":null,"title":"setPilotCameraDirection","type":"command","url":"https://community.bistudio.com/wiki/setPilotCameraDirection","revid":377431,"updated":"2026-01-02T06:46:14Z","groups":["Pilot Camera"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.64"}],"since":{"game":"arma3","name":"Arma 3","version":"1.64"},"arma3_since":"1.64","branch":null,"locality":{"argument":"local","effect":null,"server_exec":false},"exec":null,"description":"Sets the direction of airplane's or helicopter's pilotCamera.","syntaxes":[{"syntax":"object setPilotCameraDirection vector3D","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":"a vehicle equipped with pilot camera","types":["Object"],"since":null,"text":"object: Object - a vehicle equipped with pilot camera"},{"name":"vector3D","type":"Vector3D","optional":false,"default":null,"description":"in model space, relative to the model centre (In a similar fashion to PositionRelative)","types":["Vector3D"],"since":null,"text":"vector3D: Vector3D - in model space, relative to the model centre (In a similar fashion to PositionRelative)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"object","types":["Object"]},"right":{"text":"vector3D","types":["Vector3D"]}}],"examples":[{"text":"```sqf\nvehicle player setPilotCameraDirection [0,1,0] // re-centers the camera\n```","code":["vehicle player setPilotCameraDirection [0,1,0] // re-centers the camera"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["hasPilotCamera","getPilotCameraPosition","getPilotCameraDirection","getPilotCameraRotation","getPilotCameraTarget","setPilotCameraRotation","setPilotCameraTarget"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Pilot Camera","Introduced with Arma 3 version 1.64","Scripting Commands"]}