How delete particles from whitewater?

   3787   5   0
User Avatar
Member
23 posts
Joined: March 2017
Offline
Hello,

I set up a little waterfall simulation. As you can see a bunch of particles fall through the rocks, and I want to delete them. Can you help me how?
Thank you

Attachments:
waterfall2.jpg (195.2 KB)
waterfall1.jpg (258.6 KB)

User Avatar
Member
23 posts
Joined: March 2017
Offline
And I tried with a sink object but didnt worked.
User Avatar
Member
419 posts
Joined: Feb. 2012
Offline
different ways, you can add an attribute wrangle

if(@P.y < 0) {
    removepoint(0, @ptnum);
}

you can also use a delete Sop and use the delete by expression and add

@P.y < 0

make sure to change it from primitive to points
User Avatar
Member
23 posts
Joined: March 2017
Offline
Thank you For your help. But I have a little problem. Im not sure I understand well but this will delete every particles below the y 0, right?
I think I cant explain so I show it to you.
https://vimeo.com/219340879 [vimeo.com]
I would like to delete the perticles under the rock. On the other sides it call fall below 0 because the waterfall is on my table so if I delete all the point it wont reach the ground.
User Avatar
Member
419 posts
Joined: Feb. 2012
Offline
then you can use the delete node with a bounding box just where you want it. You might be able to use as well the POP Kill.
Edited by sepu - June 10, 2017 23:17:49
User Avatar
Member
23 posts
Joined: March 2017
Offline
Thank you .
  • Quick Links