Hello guy, I’m new to Niagara and I’m trying to make particles line up in grid formation dynamically based on the amount of particles currently existing.
For example, the system starts with 2500 particles(50x50), then after some event, some particles die, the total particle count drops to 900, then it will try to re-form a 30x30 grid
Expected behavior sketch
My current idea is to manage particles in Emitter Update, assign row and column to each particle and Particles will have a stracth to move to target spot, then if total particle count changes, all particles get a new row, column assignment and they move to the new location.
But the issue is, from my testing, I can’t set particle attributes from Emitter Update. I have tried many way but it seem to be a hard limit on blueprint Niagara, maybe I should try C++ Niagara.
I’m so stuck at the moment. Any input is greatly appreciated! Thank you!