Catmull-Rom Spline Point

Pure
CatmullRomSplinePoint

Evaluates a Catmull-Rom spline at parameter T using four control points. The curve passes through P1 and P2.

Type: Pure (no side effects)
Category: Fortuna|Vector & Transform
Keywords: vector & transform

Inputs

NameTypeDefaultDescription
P0FVectorP0 parameter
P1FVectorP1 parameter
P2FVectorP2 parameter
P3FVectorP3 parameter
Tfloat 0-1T parameter

Outputs

NameTypeDescription
ReturnValueFVectorReturnValue output

Example Use Cases

Example 1

Smooth AI patrol path through waypoints.

Example 2

Camera rail that passes through exact positions.