I'm trying to figure out a way to retrieve or select a group of vertices directly beneath a separate object.
I want to do this in a way that I don't have to iterate throughout the entire mesh to find the correct vertices. I was thinking of how blender is able to select things within the 'lasso select' or select things in other 'within region' shenanigans.
So my question is: Does blender always iterate through every single point in a mesh just to find what's within a certain distance, or to detect collision, or detect verts within a region etc?
Or is there a more graceful way to do this? I'm using landscapes with somewhat large amounts of verts, and this entire process will be iterated over for several different objects. I couldn't find anything helpful on google, and I'm not too sure where to look.