Hi,
I’m facing an issue that I believe many faced before, but I cannot find any documentation about its solution.
I have missiles which make a thick smoke trail using Cascade GPU sprites.
I achieve this by attaching a ParticleSystem as component to the missile Blueprint.
It looks really good, but unfortunately when the missile hits its target, the entire trail disappears.
I know of a “hacky” method, which is to hide the actor, Deactivate the ParticleSystem and wait for it to finish with a Delay node, then DestroyActor.
But this, in combination with a missile, would generate issues with the AI (and likely many other issues). I prefer to find a better way to let the particles finish, while also destroying the actor.
How to make this trail stay alive and just complete its lifetime when the missile impact happens?
I had a similar issue and the solution is spawn the particle system, it will return the same component which can be destroyed when the effect reaches its lifetime or you can explicitly destroy it. The spawn particle function can also spawn attached for you.
The node is spawn emitter attached this should essentially be the same thing you have except you should have better control over when it gets destroyed.