Pass array of positions to Niagara

Hi,

Is it possible to somehow pass the array of positions to Niagara? For example, I have 12 players on the map and I have some snow dust particles made with Niagara. I want to create a sphere distance mask from each particle to each of the players. So I need an array and loop through it inside Niagara, is it possible?

You could use a render target. Write the positions as colors, then sample the texture in Niagara (GPU particles).

This is a nice idea, thx. But how will I be able to loop through every UV position inside NIAGARA nodes?

If the number is fixed, you don’t really need a loop. Otherwise maybe you can write custom HLSL.