Group parts from point's distance

   1584   1   0
User Avatar
Member
65 posts
Joined: Feb. 2013
Online
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
User Avatar
Member
65 posts
Joined: Feb. 2013
Online
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

Attachments:
mem_001_Pop_points_pseudo_collision.hiplc (236.5 KB)

  • Quick Links