Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.math.bezierVector

S๐Ÿท๏ธ Math

Part of StarfallEx namespace

๐Ÿ”— External
math.bezierVector(r, v1, v2, v3)
View on GitHub|lua/starfall/libs_sh/math.lua:397
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Returns a point along a bezier curve.

Parameters

NameTypeDescription
rnumberNumber representing how far along the curve, 0-1.
v1VectorThe start position of the curve.
v2VectorThe middle position of the curve.
v3VectorThe end position of the curve.

Returns

TypeDescription
VectorVector representing the point along the curve.

Examples

No examples available.

Used In

No usages found in the codebase.