Kicking points out of Feedback loop

I’m stuck on a POP-based point particle system and would love some input.

Goal:

-Every particle has a consistent probability of dying (e.g. 5% per second)

-When a particle is dead , it should start moving in a specific direction (e.g. along +X)

What I‘ve tried

  • Using a feedback loop to simulate the system

  • I assign a dead attribute per point. each frame a random number is compared to a set risk (e.g. if rand > 0.95, dead = 1)

Problem:

I can’t cleanly separate dead vs. alive particles within the feedback loop.
I am able to delete the dead points with the DELETE POP but I would actually like to reroute them so they can begin their movement.
I don’t know how to reroute or stop updating the random value of dead points in the feedback loop.

Any input is super appreciated!

POP_Particle_Test.toe (4.4 KB)

A quick look. The risk attribute is set to zero so all the points get deleted immediately as the value check is always true. Updated version attached. That doesn’t exactly answer your question about not deleting particles. I’m attaching an example file that shows a couple methods for making changes to particles in a feedback loop - including an example of how to sort material that’s “deleted” into groups so you can perform different operations once that threshold has been met. Hope this helps a bit
POP_Particle_Test_risky.toe (4.6 KB)
Groups example.toe (14.3 KB)

Groups example.3.toe (14.8 KB)
This one shows how to reset particle positions in the loop