Arma 3 Scripting

BIS_fnc_interpolateVector

  • Arma 3 v1.78

Function · also in Vectors · Markdown · JSON · original wiki page

Description

Interpolates vector to target, scaled by distance. Starts very fast and smoothes out.

Syntax

[currentValue, targetValue, delta, interpSpeed] call BIS_fnc_interpolateVector

Parameters:

Returns: Array - the interpolated value

Examples

Example 1

[[1,1,1], [20,20,20], 0.2, 0.1] call BIS_fnc_interpolateVector;

See also

BIS_fnc_interpolateConstant · BIS_fnc_interpolate · BIS_fnc_interpolateVectorConstant