You are browsing as a guest. Sign up (or log in) to start making projects!

1h 6m 31s logged

Face detection and highlighting working

This was pretty complicated because 3D objects are made up of triangles, but the user probably does NOT want to select triangles, but the faces themselves. So basically, I got the face the raycast hit, and then looped through all the triangles of the mesh they are hovering and got the vertex indices and got their positions and turned that into a normal and compared it with the other faces and decided if the normals were close enough

0
4

Comments 0

No comments yet. Be the first!