Get normal of vertex data triangle

Hello everyone!
How can I programtically check normal of traignle made from vertex data and apply it to the plane? I’d like to have the grid plane in the center of the triangle and to be rotated the same as the triangle. I was thinking about making something like this:
plane.setDirection(mesh.normal)
But this mesh doesn’t have the normal calculation…

Thanks

Hey there is no mesh.normal property :slight_smile:

you can get the normals data array that you are using and extract the normal for the face you want

2 Likes

Thank you :smiley: