{"name":"BIS_fnc_unitVector","operator":null,"title":"BIS fnc unitVector","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_unitVector","revid":280851,"updated":"2021-06-14T08:22:30Z","groups":["Vectors"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Unit Vector\n\nReturns the unit vector for the passed vector (vector pointing in the same direction, but with magnitude == 1) This does not modify the original array. The array can have any number of elements (2, 3, etc).","syntaxes":[{"syntax":"","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"","types":[],"description":null,"text":""}}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Vectors","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":{"author":null,"description":"Unit Vector\n\nReturns the unit vector for the passed vector (vector pointing in the same direction, but with magnitude == 1) This does not modify the original array. The array can have any number of elements (2, 3, etc).","params":[],"returns":null,"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"    Unit Vector\n\nReturns the unit vector for the passed vector (vector pointing\nin the same direction, but with magnitude == 1)\nThis does not modify the original array.\nThe array can have any number of elements (2, 3, etc)."},"filled_from_docblock":["description"]}