Get the nearest point on surface of mesh from a point outside the mesh

Hello everyone.
I’d like to know the method getting nearest point.
I’ve checked and used prior methods but speed issues and memory out issues exist

There are many methods to get the distance from a point to a triangle. The problem might be in the scales of this algorithm. like geometry - Fastest way to compute point to triangle distance in 3D? - Stack Overflow
For a few hundreds triangle mesh, brute force is enough.
For multi thousands one, you will have to use BVH on top. Or any other algorithm that fits better your data and your needs.

1 Like

There was some good discussion about it - Get the closest point on a mesh surface from a free point in space

2 Likes