The cross product of two triangle edges yields what?
Vector3 n = Vector3.Cross(edge1, edge2);
- A vector normal to the surface
- The area value as a scalar
- The midpoint between edges
- A normalized facing angle
Cross gives a perpendicular vector; its direction is the surface normal.
Play Game Dev ▸