Description
Calculate bezier curve
Note
This content is exclusive to the Arma 3 Contact Expansion.
Syntax
syntax inferred from the function header
[param0, param1] call BIN_fnc_bezier
Parameters:
param0— 0: ARRAY - list of control points in format [x,y,z], can be any number of themparam1— 1: NUMBER - progress in range 0 to 1
Returns: ARRAY - position curve in format [x,y,z]
Function header
The comment at the top of the function's file in the game; this page's params, syntax, returns, description come from it.
/*
Description:
Calculate bezier curve
Parameter(s):
0: ARRAY - list of control points in format [x,y,z], can be any number of them
1: NUMBER - progress in range 0 to 1
Returns:
ARRAY - position curve in format [x,y,z]
*/