Function AstarSplines.CubicBezierDerivative

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

Returns the derivative for a point on a cubic bezier curve.

Public Static
Vector3 CubicBezierDerivative (

Vector3

p0

Vector3

p1

Vector3

p2

Vector3

p3

float

t

)

Returns the derivative for a point on a cubic bezier curve.

t is clamped between 0 and 1