Hi there, given a point on a mesh, does anyone know how to get the vertices of the triangle that point is within? ie given the star, I want the 3 circled vertices:
Thanks!
Hi there, given a point on a mesh, does anyone know how to get the vertices of the triangle that point is within? ie given the star, I want the 3 circled vertices:
Thanks!
as far as I can tell, I’ve solved this. I just iterate through the vertices, choosing the 3 closest ones. I’m assuming because all the triangles are the same size this will always return the correct vertices.