{"name":"getPilotCameraDirection","title":"getPilotCameraDirection","type":"command","url":"https://community.bistudio.com/wiki/getPilotCameraDirection","revid":377256,"updated":"2026-01-02T06:32:48Z","groups":["Pilot Camera"],"status":"ok","games":{"arma3":"1.64"},"since":"arma3 1.64","arma3_since":"1.64","locality":{"argument":"local"},"description":"Returns model space vector of the object airplane or helicopter pilotCamera .","syntaxes":[{"syntax":"getPilotCameraDirection object","params":[{"name":"object","type":"Object","type_expr":"Object"}],"returns":{"type":"Vector3D","type_expr":"Vector3D","description":"relative to the model centre (In a similar fashion to PositionRelative). Returns [0,0,0] if object has no pilotCamera."},"form":"unary","right":{"text":"object"}}],"examples":[{"code":["_pilotCamVector = getPilotCameraDirection vehicle player;"]}],"see_also":["hasPilotCamera","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget"]}