# Bullet collison

**URL:** <https://forums.unrealengine.com/t/bullet-collison/450549>\
**Category:** World Creation\
**Tags:** bullet, fps, unreal-engine, Physics, Collision, UE4, Blueprint, question\
**Created:** [June 12, 2019, 12:21pm UTC](https://forums.unrealengine.com/t/bullet-collison/450549 "2019-06-12T12:21:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davidd432](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davidd432](https://forums.unrealengine.com/u/Davidd432)\
**Post date:** [June 12, 2019, 12:21pm UTC](https://forums.unrealengine.com/t/bullet-collison/450549/1 "2019-06-12T12:21:39Z")

</div>

Hi everyone. I was setting up a bullet when i noticed that it doesn’t hit other players but it goes through them without dealing any damage. How can I fix that? Here’s the images [Imgur: The magic of the Internet](https://imgur.com/a/AtkVmRq)  
Thank you in advance.

---

<div class="post-metadata">

**Author:** ![DonBusso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonBusso](https://forums.unrealengine.com/u/DonBusso)\
**Post date:** [June 12, 2019, 12:36pm UTC](https://forums.unrealengine.com/t/bullet-collison/450549/2 "2019-06-12T12:36:03Z")

</div>

Hi David,

I’m no expert but you might want to go with something like this. You can play around with the setting so the bullets will behave in a desired way. I always take a look at something that already exists inside one of the templates, this one comes from first person template.

 ![279564-projectile.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/5/dc51d63ef8cda384e724e601143aba6977101cb2.png)

---

<div class="post-metadata">

**Author:** ![Davidd432](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davidd432](https://forums.unrealengine.com/u/Davidd432)\
**Post date:** [June 12, 2019, 1:34pm UTC](https://forums.unrealengine.com/t/bullet-collison/450549/3 "2019-06-12T13:34:04Z")

</div>

I tried playing with those settings but it’s always the same. I enabled the line trace and it goes through players too

---

<div class="post-metadata">

**Author:** ![DonBusso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonBusso](https://forums.unrealengine.com/u/DonBusso)\
**Post date:** [June 12, 2019, 2:02pm UTC](https://forums.unrealengine.com/t/bullet-collison/450549/4 "2019-06-12T14:02:02Z")

</div>

That’s so weird. Can I see collision for the target you’re attacking? The above setting works for me, when I switch collision to your setting it does fly through the enemy target.

If you like we can link on discord. I could show you my entire setup for character and ai I’m attacking, including dealing damage.

---

<div class="post-metadata">

**Author:** ![Davidd432](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davidd432](https://forums.unrealengine.com/u/Davidd432)\
**Post date:** [June 12, 2019, 4:28pm UTC](https://forums.unrealengine.com/t/bullet-collison/450549/5 "2019-06-12T16:28:38Z")

</div>

Here are some screenshots of the pawn and the bullet collisions. [Imgur: The magic of the Internet](https://imgur.com/a/kJq40NI)  
It’s really weird, the player’s a pawn and the bullet should block pawn’s collisions

---

<div class="post-metadata">

**Author:** ![DonBusso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonBusso](https://forums.unrealengine.com/u/DonBusso)\
**Post date:** [June 12, 2019, 5:05pm UTC](https://forums.unrealengine.com/t/bullet-collison/450549/6 "2019-06-12T17:05:23Z")

</div>

I’m in a loss here. I’d say try creating a new actor of character class and see if the same thing is going to happen.

---

<div class="post-metadata">

**Author:** ![Davidd432](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davidd432](https://forums.unrealengine.com/u/Davidd432)\
**Post date:** [June 12, 2019, 6:44pm UTC](https://forums.unrealengine.com/t/bullet-collison/450549/7 "2019-06-12T18:44:40Z")

</div>

ok so now the bullet has its collision working properly but the line trace still ignores the player

---

<div class="post-metadata">

**Author:** ![Davidd432](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davidd432](https://forums.unrealengine.com/u/Davidd432)\
**Post date:** [June 12, 2019, 8:05pm UTC](https://forums.unrealengine.com/t/bullet-collison/450549/8 "2019-06-12T20:05:37Z")

</div>

I got it, I was using a “line trace by channel”. Now I’m using “line trace for object” and it works. The only thing left to do is the bullet (actor) and damage (which works only when the server is shooting) replication
