{"name":"BIS_fnc_setObjectRotation","operator":null,"title":"BIS fnc setObjectRotation","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_setObjectRotation","revid":349342,"updated":"2023-11-08T14:53:30Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Set object rotation.","syntaxes":[{"syntax":"[object, rotation] call BIS_fnc_setObjectRotation","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":"object to manipulate","types":["Object"],"since":null,"text":"object: Object - object to manipulate"},{"name":"rotation","type":"Array","optional":false,"default":null,"description":"vector in format:\n1. Yaw\n1. Pitch\n1. Roll","types":["Array"],"since":null,"text":"rotation: Array - vector in format:\n1. Yaw\n1. Pitch\n1. Roll"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[cursorObject, [100,100,100]] call BIS_fnc_setObjectRotation;\n```","code":["[cursorObject, [100,100,100]] call BIS_fnc_setObjectRotation;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["vectorDir","vectorUp","setVectorDir","setVectorDirAndUp","vectorDiff","vectorAdd","vectorMultiply","vectorCrossProduct","vectorDistance","vectorMagnitudeSqr","vectorDistanceSqr","vectorCos","vectorMagnitude","vectorDotProduct","vectorNormalized","vectorFromTo"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Object Manipulation","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}