We have an event hit connected to a destroy actor so that the projectile will be destroyed when it hits something. The problem is that it is hitting the player as soon as it spawns and is immediately destroyed. Is there a way to set it so that it is destroyed whenever it hits anything but the player?
You’ll need to set up custom collision so that it blocks all except pawn, or just use the IgnoreOnlyPawn collision option.
That would ignore all pawns right, Jamendxman3? So that might not be the best solution for him.
OP In my projectile class, I check to make sure the instigator (or the actor that created the projectile) isn’t the same that it’s currently colliding with. I think instigator is a built in variable you get. I’ll have to look at my code later to verify that’s true but that’s how I handled it.