- Home /
How can I calculate the normals of the edges of a 2D plane?
I want to achieve the following effect for any subdivided 2D plane (image below). How do you do it with only X and Y axis and when its flat plane?
Comment
Vector3 vertexNormal = Vector3.Normalize( vertexPosition - gridCenter );