Version: 2017.2

Vector3.ProjectOnPlane

Switch to Manual
public static Vector3 ProjectOnPlane (Vector3 vector, Vector3 planeNormal);

Description

Projects a vector onto a plane defined by a normal orthogonal to the plane.