Notifications
Clear all
[Closed] Get face normal within Edit Poly modifier
Jun 28, 2006 7:41 pm
I don’t see a command to do this, like polyOp.getFaceNormal for editable poly. Does anyone know how I can get the normal of the selected face inside of an edit poly modifier?
1 Reply
Jun 28, 2006 7:41 pm
I think you’re going to have to get the normal by youself unfortunatly, just get all the vertices and for each vertex get the vecter from the previous vert to the current vert then from the current vert to the next vert, get the cross product of those vectors, add it to a total then normalize that total, that should give you the face normal. If you want code I’ll be happy to supply it