Projectile hit

I’m currently trying make projectile movement and collisions.

Setup is here:

http://s12.postimg.org/4ctga6tp9/first.png

http://s13.postimg.org/9fuybh207/second.png

It’s a problem because projectile collides with itself (projectile with projectile) or with player… How can I solve this? I want to make collision projectile with all environment and NPCs without itself and player…

Example this projectile collisions printed on screen (“print string display name”):
Player
Player
Projectile
Player
Projectile

Please help me.
Thanks your your reply.

Regards,

Your best bet is to create a custom collision channel, and make sure the projectile doesn’t collide with itself. Failing that, you could switch off collisions on the particle breifly when it’s created.

Make sure that your StaticMeshComponent (StaticMesh1) has collision disabled. I do this here:

You also need to make sure that the projectile is spawned outside the player collision, so it doesn’t collide with them (which I also do in that video). Another option is to use overlap events instead of hit events, as those don’t actually stop the projectile moving, and you can ignore overlaps you are not interested in.

Thanks for all replies. The problem was ridiculous. I have on my scene many brushes but brushes objects don’t execute hit events so my projectiles collide with brushes but don’t destroy on hit then enemies or player move straight toward projectile and execute event.

We are going to prevent you adding hit events for brush actors, as it’s just confusing!

I am just getting up to speed on collisions. I fixed my problem by turning off collisions when the projectile hits.