I cant get myself to figure out how ProjectOnPlane works. The documentation shows an image which unfortunately is in 2d. I think the image does what i thought Vector3.Project() does.
I understand that the plane which is spanned by "planeNormal" always goes trough the origin. However i think there are infinite solutions for the plane since in 3d it can be twisted(rotated) in any way.
Unitys Vector3.ProjectOnPlane documentation:
*Update
I think i understand it a little bit better now, i didn't know "planeNormal" referenced "normal vector" which is a mathematically term. So the plane is orthogonal to the "planeNormal"?
Thanks for any help in advance!