You can get the surface normal of a triangle like this:
var v0 = vertices[0];
var v1 = vertices[1];
var v2 = vertices[2];
var surfaceNormal = Vector3.Cross (v1 - v0, v2 - v0).normalized;
vertices[0], [1], and [2] should, of course, be replaced with the actual vertices of the triangle that you're interested in.
↧