Function AstarSplines.CubicBezier

CubicBezier (Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t)

Returns a point on a cubic bezier curve.

Public Static
Vector3 CubicBezier (

Vector3

p0

Vector3

p1

Vector3

p2

Vector3

p3

float

t

)

Returns a point on a cubic bezier curve.

t is clamped between 0 and 1