# Line Trace Not Hitting Skeletal Mesh

**URL:** <https://forums.unrealengine.com/t/line-trace-not-hitting-skeletal-mesh/337050>\
**Category:** World Creation\
**Tags:** line-trace, collision-detection, unreal-engine, Physics, skeletalmesh, projectile, question\
**Created:** [October 31, 2015, 1:33pm UTC](https://forums.unrealengine.com/t/line-trace-not-hitting-skeletal-mesh/337050 "2015-10-31T13:33:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f03fe4b71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f03fe4b71](https://forums.unrealengine.com/u/anonymous_user_f03fe4b71)\
**Post date:** [October 31, 2015, 1:33pm UTC](https://forums.unrealengine.com/t/line-trace-not-hitting-skeletal-mesh/337050/1 "2015-10-31T13:33:03Z")

</div>

Hi I am shooting a projectile and on overlap with the a characters capsule component generate a line trace from the projectile and try and find the bone name of the part of the skeletal mesh that it collides with. But the line trace just goes straight through the skeletal mesh no matter what collision settings I try and change. Currently the skeletal mesh has a ragdoll collision and the capsule component has a pawn collision (auto weld is off). The projectile has the following custom collision. I have tried everything could someone suggest a possible fix or even a way to get a projectile collide with skeletal mesh so I get retrieve the bone names. I have also tried using the on event hit and it only collides with the capsule cannot get it to collide with the skeletal mesh. Thanks

 ![64669-arrow.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/3/083563aacc56462ba4d416cf5a64401edb910064.png)

---

<div class="post-metadata">

**Author:** ![Fred82](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fred82](https://forums.unrealengine.com/u/Fred82)\
**Post date:** [November 3, 2015, 7:07pm UTC](https://forums.unrealengine.com/t/line-trace-not-hitting-skeletal-mesh/337050/2 "2015-11-03T19:07:14Z")

</div>

I’ve got the exact same problem right now 🙂  
But I think I might have solved it!

Ok so I figured that:

1. We can’t get the actor or the bone name, because it only triggers on the Capsule Coponent.
2. If we remove the Capsule Coponent and it returns no results then it can’t hit the skeleton
3. The reason should be that it doesn’t return anything but the skeleton gets rendered must be that there is no inherent collision on the Skeletal Mesh.
4. Open UE4\_Mannequin\_Skeleton and look at Details - Physics:
5. Enable Per Poly Collision (This I guess means that it auto-generates hitboxes from meshes)
6. Select SK\_mannequin\_physicsasset (I’m guessing this contains collision info)

And it works 🙂 As per my screenshot  
[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/f/54fa5c18dc9ba85305415eb1a1710c8aac09585a.jpeg) ](https://i.imgur.com/iT3XYcw.jpg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f03fe4b71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f03fe4b71](https://forums.unrealengine.com/u/anonymous_user_f03fe4b71)\
**Post date:** [November 4, 2015, 8:44am UTC](https://forums.unrealengine.com/t/line-trace-not-hitting-skeletal-mesh/337050/3 "2015-11-04T08:44:54Z")

</div>

Thank you so much that was the reason.🙂

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [October 8, 2021, 4:58pm UTC](https://forums.unrealengine.com/t/line-trace-not-hitting-skeletal-mesh/337050/4 "2021-10-08T16:58:05Z")

</div>

Thanks So Much! BRU!

---

<div class="post-metadata">

**Author:** ![BojanglesTheLess](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BojanglesTheLess](https://forums.unrealengine.com/u/BojanglesTheLess)\
**Post date:** [August 2, 2024, 10:16am UTC](https://forums.unrealengine.com/t/line-trace-not-hitting-skeletal-mesh/337050/5 "2024-08-02T10:16:01Z")

</div>

turning OFF per poly collision fixed it for me. 🤷‍♂️

> [@Line Trace on Skeletal Mesh](https://forums.unrealengine.com/t/line-trace-on-skeletal-mesh/471791):
>
> Hi, I’m having an issue where my line traces aren’t hitting the pawn’s skeletal mesh. If i enable ‘Enable Per Poly Collision’ on the mesh it does register a hit but I’m then unable to simulate physics (comes up with error) Any help with this one would be greatly appreciated.
