Projectile getting destroyed (sometimes) when spawned by enemy

Can you post a video of this issue? Also screen shots of the projectile set-up, enemy set-up and include collision settings for both.

Use a SNIP tool or prnt scrn button and save the image that comes up haha

When the enemies see the player they fire a projectile every tick between 0.03 seconds and 0.3 seconds.

When the
projectile is fired sometimes it moves forward for half a second then it gets destroyed,

what I think is happening here is that the
projectile is colliding with the enemy (which I doubt) or its colliding with another enemy projectile.

Sometimes It just stops in mid air.

ok, i’m not to sure how to save screen shots XD.

I figured it out almost a hour ago. but thanks!

the bullets hit walls and the player but it also hits another enemy bullet and/or the enemy it is being shot from

Cool, you should post your solution as an answer so others who have similar issues can be helped by your efforts.

uhh I haven’t figured it out yet I meant I figured out how to do screen shots…

Hi, you probably have not setup the collision channels properly. So that if you spawn the bullet, they immediately collide with the player or weapon.

Easy way to debug this, is to put a PrintString on the EventOn(Overlap/Hit/ProjectileStop) in the Procetile-Blueprint and print the hit actor’s name.

Here is a tutorial on how to setup collision channels Collision Channels Tutorial

I’ll check it out, thanks!

sure, post as an answer like you have with whatever you did and then you will be able to “accept” the answer and it will be marked “answered”

Is there a way to mark this as solved?