From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Gets interpolated value based on Bézier curve with given control points (progress value is 0...1 for a curve that starts at pos0 and finishes at posN)

- Groups:
- Math
Syntax
- Syntax:
- progress bezierInterpolation positions
- Parameters:
- progress: Number - interpolation value
- positions: Array of Arrays in format Position3D
- Return Value:
- Array - a single point position in format Position3D based on progress value
Examples
- Example 1:
- Quick demonstration that spawns some spheres around player object:
- Example 2:
- Create a map marker curve from 4 control points with overlap (progress is -0.5...1.5 instead of 0...1):
Additional Information
- See also:
- linearConversion vectorLinearConversion
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here!
Add Note