{"name":"BIS_fnc_interpolateVectorConstant","operator":null,"title":"BIS fnc interpolateVectorConstant","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_interpolateVectorConstant","revid":349200,"updated":"2023-11-08T14:50:42Z","groups":["Interpolation","Vectors"],"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":"Interpolates vector to target linearly.","syntaxes":[{"syntax":"[currentValue, targetValue, delta, interpSpeed] call BIS_fnc_interpolateVectorConstant","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":"delta","type":"Number","optional":true,"default":"0","description":"the delta time","types":["Number"],"since":null,"text":"delta: Number - (Optional, default 0) the delta time"},{"name":"interpSpeed","type":"Number","optional":true,"default":"0","description":"the interpolation speed","types":["Number"],"since":null,"text":"interpSpeed: Number - (Optional, default 0) the interpolation speed"}],"returns":{"type":"Array","types":["Array"],"description":"the interpolated value","text":"Array - the interpolated value"}}],"examples":[{"text":"```sqf\n[[1,1,1], [20,20,20], 0.2, 0.1] call BIS_fnc_interpolateVectorConstant;\n```","code":["[[1,1,1], [20,20,20], 0.2, 0.1] call BIS_fnc_interpolateVectorConstant;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_interpolateConstant","BIS_fnc_interpolate","BIS_fnc_interpolateVector"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Interpolation","Function Group: Vectors","Functions","Introduced with Arma 3 version 1.78"],"docblock":null,"filled_from_docblock":[]}