Death event location in particle update

Is it possible to get the position of my death event in my particle update of my emitter wich triggers when my first particle dies? I already have my death event set up, now in my particle update i want to use the death location to make my particles for example rotate around it or some other stuff like a point attraction force. I’m new to niagara and don’t understand these systems very well yet.

Hi @C_D_N1,

When you generate a death event, the location of the death is sent to the receiving particle as its location.

Here’s how I would set up the effect you’re looking for:

Here, you are setting the incoming position vector as a new variable, Death Position. This will permanently hold the position of your death event.

Your point force will go before, with the Death Position as the force origin.

Now, you’ll be getting an error saying that Death Position was read before being set, since the particle is initialized before the death event occurs. To fix this, you’ll just need to set a default value for the Death Position. It doesn’t really matter what this value is, since it’ll be immediately overridden by the death event.

And there you go! Let me know if you have any questions.