Jump to content

Delete grains from existing hole ?


CinnamonMetal

Recommended Posts

I want to kill any particles from going past this hole. I was thinking of finding the bounding box of the geometry but how do I find the area of the hole as to tell the particles to die when they hit the hole and or go outside of the hole with grains ?

hole.png.c0ce4aa1e436a5f8c616745556199b4d.png

Edited by CinnamonMetal
Link to comment
Share on other sites

In your case, couldnt you just kill them if they hit a P.y threshold?

Otherwise you could create an sdf for the hole and kill them inside a sopsolver if the volumesample() of the particles P is < 0

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...