Arma 3 Scripting

BIN_fnc_bezier

  • Arma 3 v1.94

Function · Markdown · JSON · original wiki page

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:

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]
*/