{"name":"setPilotCameraRotation","title":"setPilotCameraRotation","type":"command","url":"https://community.bistudio.com/wiki/setPilotCameraRotation","revid":323076,"updated":"2022-06-28T21:43:12Z","groups":["Pilot Camera"],"status":"ok","games":{"arma3":"1.64"},"since":"arma3 1.64","arma3_since":"1.64","locality":{"argument":"local"},"description":"Sets rotation (relative to the centered camera position) of the object airplane or helicopter pilotCamera .","syntaxes":[{"syntax":"object setPilotCameraRotation rotation","params":[{"name":"object","type":"Object","type_expr":"Object"},{"name":"rotation","type":"Array","description":"[x,y] - format [yaw (turn), pitch (elevation)]. Values are in radians, positive values are left yaw and down pitch from the center.","type_expr":"Array"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"object"},"right":{"text":"rotation"}}],"examples":[{"code":["vehicle player setPilotCameraRotation [rad 90, rad 45];"]}],"see_also":["hasPilotCamera","getPilotCameraPosition","getPilotCameraDirection","getPilotCameraRotation","getPilotCameraTarget","setPilotCameraDirection","setPilotCameraTarget"]}