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

SFEX.math.bezierVectorCubic

S๐Ÿท๏ธ Math

Part of StarfallEx namespace

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

Description

Returns a point along a cubic bezier curve.

Parameters

NameTypeDescription
rnumberNumber representing how far along the curve, 0-1.
v1VectorThe start position of the curve.
v2VectorFirst tangent
v3VectorSecond tangent
v4VectorThe 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.