Jump to content

Killing the particles that are going to be killed in their lifetime


ehsan parizi

Recommended Posts

Hi,

Is there any way to kill the particles that are going to collide with a surface before the collision happens?

a simple example is that when particles don't stop at collision and move through the collision object, Is there anyway to delete those particles from the beginning? In the attached file, you can see some particles don't stick on the collision surface, if there's a way to collect the ID numbers of all the particles that move through the collision obj during the simulation, then we can kill them in sop level, but I don't know how to make a group of all the particles that pass the collision object and use it at the first frame!

Other than that in my original file, I have some particles that move with a very high speed, and I want to kill those too, IF there's a way to group the particles that collide with a surface in their lifetime from the first frame, then I think I can fix that problem too. But still the main question is how to make that group?!

kill_those_mofos.hipnc

Link to comment
Share on other sites

You could use a timeshift node and set it to the last frame of the simulation so you have all the necessary information about collisions that will be happening. The downside is, that this will become really slow as soon as your particle system gets more complicated as it has to be calculated for the whole framerange everytime you change it.

-dennis

edit: Just realized that this isn't exactly what you were aiming for.

Maybe you should try to use SDF collisions. There has been a thread about this somewhere.

Edited by dennis.weil
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...