Project Onto Plane

Pure
ProjectOntoPlane

Projects a vector onto a plane defined by its normal, removing the component along the normal.

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

Inputs

NameTypeDefaultDescription
VectorFVectorVector parameter
PlaneNormalFVectorPlaneNormal parameter

Outputs

NameTypeDescription
ReturnValueFVectorReturnValue output

Example Use Cases

Example 1

Get a character's movement direction along a slope.

Example 2

Flatten a velocity vector to the horizontal plane.