Getting distance to nearest point on object


Is there a way to find the distance from the nearest point on an object to the nearest point on another object?


There’s no built-in function that I’m aware of, but if this suffices, it should be fairly straightforward to iterate over the vertices of the object and find the one with smallest distance to a given point. You’ll have to first transform the point to the object’s coordinate system to do this.

Got it. Just wanted to make sure there was no built-in method.