{"name":"BIS_fnc_slerp","operator":null,"title":"BIS fnc slerp","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_slerp","revid":349205,"updated":"2023-11-08T14:50:44Z","groups":["Interpolation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.78"}],"since":{"game":"arma3","name":"Arma 3","version":"1.78"},"arma3_since":"1.78","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Spherical lerp, for correct lerping of normalized direction vectors","syntaxes":[{"syntax":"[currentValue, targetValue, alpha] call BIS_fnc_slerp","since":null,"effect":null,"exec":null,"params":[{"name":"currentValue","type":"Array","optional":false,"default":null,"description":"the current value","types":["Array"],"since":null,"text":"currentValue: Array - the current value"},{"name":"targetValue","type":"Array","optional":false,"default":null,"description":"the target value","types":["Array"],"since":null,"text":"targetValue: Array - the target value"},{"name":"alpha","type":"Number","optional":false,"default":null,"description":"the alpha","types":["Number"],"since":null,"text":"alpha: Number - the alpha"}],"returns":{"type":"Array","types":["Array"],"description":"interpolated value","text":"Array - interpolated value"}}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_clerp","BIS_fnc_lerp","BIS_fnc_lerpVector","BIS_fnc_inverseLerp"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Interpolation","Functions","Introduced with Arma 3 version 1.78"],"docblock":null,"filled_from_docblock":[]}