Projectile Colliding With Self on Spawn

Hello friends,

Can’t fix this and I’ve read many solutions. I’m spawning the projectile on a mouse click

In the projectile blueprint I print out the overlapping actors and it’s always the bullet ITSELF:

Since I am trying to delete the projectile on collision and it self collides I never even see the projectile after spawn.Here it is in action:

107892-2.png

This is odd, because a single click doesn’t follow up with a 2nd projectile. How can it collide with any spawned projectile, yet alone itself?
Here are my collision settings for the collision box:

I saw another solution someone used the Object Type: Projectile; but I don’t have this option. I am having a hard time with the collision in Unreal Engine, could someone please help? Thanks!!! Also I’ve tried BeginOverLap on both the mesh and the collision box. What am I doing wrong?

1 Like

This solved. Thanks so much!!! life saver.

Hey DaiWei,

If you open the Edit → Project Settings → Collision tab, there is a button to add a “New Object Channel”. Click this and name the new channel, “Projectile”. Leave the default Response to “Block”.

Then, for your Projectile class collision (such as a Box or Sphere Collision), change the “Collision Presets” to “Custom”. Change the “Object Type” to “Projectile”. Then, have the check box for “Block” checked for everything except for “Projectile”, where you have that is “Ignore”.

Also, you can control these collision settings as you want. Block all is just easy to demonstrate. You could set it as Overlap, as well.

2 Likes