Arma 3 Scripting

Function in Interpolation, Vectors

BIS_fnc_interpolateVectorConstant

Also available as Markdown and JSON, or read the original wiki page.

Description

Interpolates vector to target linearly.

Syntax

[currentValue, targetValue, delta, interpSpeed] call BIS_fnc_interpolateVectorConstant

Parameters:

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