Alternate particle ID Niagara

Found the solution, I’ll post it here so if anyone else comes across a similar problem hopefully it can help.

I was able to take the “Particles : UniqueID” parameter and add 1 to it, then feed it into a modulo at 2% and check if the number is greater than zero, and use that boolean to select between the alternate numbered particle ID (in this case its odd and even since i’m only ever spawning two particles at a time).

This allows me to spawn two flipbook sprites from one emitter, while still being able to control the individual sprite alignment, as well as other stuff I control using Dynamic Material Parameters. Here I have one flipbook that is aligned to the floor and another that is aligned to the camera forward vector.

And having it be just able to handle the alternating ID, this emitter can be used to spawn thousands of these sets of particles at a time without having to work between two different emitters. Makes it very comfortable for spawning particles from a passive Niagara system in a pool.

1 Like