Is your projectile a particle or a blueprint? Just for clarification reasons: you want the trail not to disappear instant when your projectile, on which the trail is attached, collides?
If your projectile is a blueprint and it gets destroyed on collision and the trail is part of this projectile blueprint it also gets destroyed on collision. One way to make the trail not disappear would be to not destroy the projectile on collision. You could switch the visibility of the projectile mesh on collision and destroy it after a delay, so you can see the trail fade away.
The trail is a particle component attached to my BP. In this example you see an electric bullet and it’s supposed to stick to the tank for a while doing bleeding damage.
Ok. So your projectile is a blueprint that gets destroyed on collision and everything attached to it will also gets destroyed. I guess you have to prevent the projectile blueprint to get destroyed on collision. So the trail is still “alive” and can fade out.
That might be an easy fix. Although I’m wondering if there is a way without having to do this trickery. But I might use that technique if i can’t find other potential fixes. Thanks man!
So it turned out my programmer was lying. He said he used Deactivate (in c++). But he didn’t, and that’s why I din’t find a fix for this issue. I tried that deactivate technique in blueprints and it worked fine for me.
Thanks for the help.