How to immediately deactivate a UParticleSystemComponent

I have a tracerFX partical that I attach to my projectiles (so you can see them).The particle effect I am has a approximately 2 second run time.

So what I am doing is on impact I am calling TrailFX->DeactivateSystem(); and unfortunately it finishes playing the particle before disabling it so it sits around for a couple of second. I want to immediately deactivate it on impact.


Try TrailFX->Deactivate();

Hope it helps.

Thanks so much for the reply. Unfortunately this didn’t work either :frowning:

Bummer…Can you show your code?
You may need to add the UFunction or UPROPERTY macro for it to work… if you haven’t done so…