# How Can I Make A Line Trace Ignore Player Capsule?

**URL:** <https://forums.unrealengine.com/t/how-can-i-make-a-line-trace-ignore-player-capsule/391004>\
**Category:** Blueprint\
**Tags:** line-trace, damage-sense, unreal-engine, Scripting, UE4, Blueprint, question\
**Created:** [April 15, 2017, 6:25pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-line-trace-ignore-player-capsule/391004 "2017-04-15T18:25:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![NijoMeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NijoMeister](https://forums.unrealengine.com/u/NijoMeister)\
**Post date:** [April 15, 2017, 6:25pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-line-trace-ignore-player-capsule/391004/1 "2017-04-15T18:25:23Z")

</div>

Hi, Today I wanted to make a Line Trace ignore the player capsule so I could get what part of the body the line trace hits so If the line trace hits a head it will deal twice the damage and if it hits his leg it will deal twice less damage.  
I’m using the linetraceforobjects node.  
Thanks!  
NijoMeister

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [April 15, 2017, 7:11pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-line-trace-ignore-player-capsule/391004/2 "2017-04-15T19:11:36Z")

</div>

Hi.

Capsule component is for simple collision. You can set capsule ignoring collision or disable capsule collision just as I did in my project and it working good with player and ai. Your character mesh must have collision enabled in this case of course. Then, breaking hit result (trace) you will see what bone is hit.

---

<div class="post-metadata">

**Author:** ![NijoMeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NijoMeister](https://forums.unrealengine.com/u/NijoMeister)\
**Post date:** [April 16, 2017, 12:52am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-line-trace-ignore-player-capsule/391004/3 "2017-04-16T00:52:23Z")

</div>

Hi Vaheva,  
I don’t know what you’re trying to say could you show my how you did it ?  
Thanks, Nijo

---

<div class="post-metadata">

**Author:** ![NijoMeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NijoMeister](https://forums.unrealengine.com/u/NijoMeister)\
**Post date:** [April 16, 2017, 1:03am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-line-trace-ignore-player-capsule/391004/4 "2017-04-16T01:03:00Z")

</div>

I fixed It 😃 Thanks for helping 🙂

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [April 16, 2017, 1:08am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-line-trace-ignore-player-capsule/391004/5 "2017-04-16T01:08:32Z")

</div>

Normally I have editor open, but not today, good you have it. I change comment to answer, so you can close question.

---

<div class="post-metadata">

**Author:** ![The\_KvaDRoniKuS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_KvaDRoniKuS](https://forums.unrealengine.com/u/The_KvaDRoniKuS)\
**Post date:** [September 25, 2024, 4:17pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-line-trace-ignore-player-capsule/391004/6 "2024-09-25T16:17:11Z")

</div>

hi, i had same problem, solved by setting collision of COLLISION BOX to NO COLLISION INSTEAD of OVERLAP ALL.

---

<div class="post-metadata">

**Author:** ![The\_KvaDRoniKuS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_KvaDRoniKuS](https://forums.unrealengine.com/u/The_KvaDRoniKuS)\
**Post date:** [November 15, 2024, 6:47am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-line-trace-ignore-player-capsule/391004/7 "2024-11-15T06:47:36Z")

</div>

or just set ignore trace channel that capsule should ignore)
