Description
Interpolates vector to target linearly.
Syntax
[currentValue, targetValue, delta, interpSpeed] call BIS_fnc_interpolateVectorConstant
Parameters:
currentValue: Array - the current valuetargetValue: Array - the target valuedelta: Number - (Optional, default 0) the delta timeinterpSpeed: Number - (Optional, default 0) the interpolation speed
Returns: Array - the interpolated value
Examples
Example 1
[[1,1,1], [20,20,20], 0.2, 0.1] call BIS_fnc_interpolateVectorConstant;
See also
BIS_fnc_interpolateConstant · BIS_fnc_interpolate · BIS_fnc_interpolateVector