Hi guys my projectiles are not being destroyed if the target actor has already been destroyed. I have been using an is valid check on the target unit to see if it is still alive however my projectile is still visible in game and stuck there. What i wanted it to do is get destroyed as soon as the actor is destroyed by reaching it’s goal.
In the picture below the cut off point is just doing damage calculation once it hits the target.
Well, if the target actor has already been destroyed, then there’s nothing for the projectile to overlap with. Hence there is the possibility of it not overlapping with anything at all. If you just want to destroy the projectile if it doesn’t hit anything, you can use the Initial Life Span under the Class Defaults panel of your projectile to make sure that it gets destroyed after a specified period of time even if no hit has been registered.