Ahh so thats what Barycentric class does. Basically var vtx0:Vertex = VectortoVertex(p0); var vtx1:Vertex = VectortoVertex(p1); var vtx2:Vertex = VectortoVertex(p2);
var uv0:UV = objB.faces[i].uv0; var uv1:UV = objB.faces[i].uv1; var uv2:UV = objB.faces[i].uv2; hitUV = BaryCentricTest.getUVs(vtx0,vtx1,vtx2,uv0,uv1,uv2,intersectVector) WooYAY :)
