Vector3.project_on_plane method

project_on_plane(self, normal: Vector3) -> Vector3:

Projects this vector onto a plane defined by a normal that is orthogonal to it.

Parameters

  • normal: Vector3

    direction from the vector towards the plane.

Returns

location of vector on the plane