Search - User list
Full Version: Group parts from point's distance
Root » Houdini Indie and Apprentice » Group parts from point's distance
merlino3d
Hi, I'm trying to solve a little problem and till now I can't find a solution.
The point is:
I have a collider and a POP system.
The collider's mesh isn't closed and supposedly there's no way to close it in a good way. So I thought to scatter points on the mesh and then import them to the popdop, use a popvop and check if the particles are at a distance less then “x”, if so “do something” … now my big problem is how can I iterate that check on all the scattered points. Or: there's a better way to do that and achieve a well defined collision detection without using volumes (as I don't have a closed object)

Thanks in advance!
Marco
merlino3d
Ok … I found a beautiful node called pcfind which “return a list of points with the location P within radius” defined in the same pcfind.
Then I can check the array length and if it's != 0 the points are within radius, so now I can do what I want with them …

It has his limitations (if the parts v is high I've to put more substeps for example), but can be a good starting point … maybe
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB