Unity: Creating a Plane from 3 Vectors

by Azul Shiva   Last Updated January 12, 2018 16:13 PM

https://docs.unity3d.com/ScriptReference/Plane-ctor.html

public Plane(Vector3 a, Vector3 b, Vector3 c); Description: Creates a plane.

The resulting plane goes through the given three points. The points go around clockwise as you look down on the top surface of the plane.

Since there is no Debug.DrawPlane I don't know whether my plane works as expected. Are all 3 Vectors world coordinates? Or are they connected to each other? Can somebody elaborate how this works? Neither can I make any sense of "The points go around clockwise as you look down on the top surface of the plane"

Tags : unity vector


Related Questions



Create random polygon shapes

Updated August 01, 2015 14:05 PM