# Dynamic Mesh Actor Failing Line Trace Why??

**URL:** <https://forums.unrealengine.com/t/dynamic-mesh-actor-failing-line-trace-why/1902651>\
**Category:** Blueprint\
**Tags:** unreal-engine, geometry-script, question, Blueprint\
**Created:** [June 14, 2024, 6:07am UTC](https://forums.unrealengine.com/t/dynamic-mesh-actor-failing-line-trace-why/1902651 "2024-06-14T06:07:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![r\_q](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@r\_q](https://forums.unrealengine.com/u/r_q)\
**Post date:** [June 14, 2024, 6:07am UTC](https://forums.unrealengine.com/t/dynamic-mesh-actor-failing-line-trace-why/1902651/1 "2024-06-14T06:07:26Z")

</div>

> **[DynamicMeshLoadFromStatic posted by anonymous | blueprintUE | PasteBin For...](https://blueprintue.com/blueprint/fdym3hq_/)**
>
> No description provided

> **[DynamicMeshLoadFromStaticBeginPlay posted by anonymous | blueprintUE |...](https://blueprintue.com/blueprint/vrokltw3/)**
>
> No description provided

Please ignore the non-used variables. For the above links

My Issue is that I’m using a “Line Trace by Channel” and it is not picking up the hit on the target actor.

The Actor has its Collisions set to `Simulate Generates Hit Events` to true along with Block for `Visibility` Channel true.

The Dynamic Mesh Component has Collision Type set to `Use Complex Collisions As Simple` With `Enable Complex Collision` to true Note: I’ve also tried `Simple and Complex` with the same result.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/4/c44a90b83917fcf1191bbdfbc3676c13d8726ae6.png)

The Construction Script is as follows:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/8/378797b0ce7c68c909b99a7dff522a6fed193a14.png)

And Begin Play is as follows:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/1/251fdc2a627c5c29cc45c1d8c00e85f331df47c0.png)

Since I’m not checking the success of the line trace I do understand the sphere is attached but not in the correct location likely [0,0,0] as you can see at the bottom, Disregarding that why is the line trace failing when it passes through the top of the dynamic mesh?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/5/f75ad92d196dbe8f1fd998be070b97a5952b84da.jpeg)

I do suspect I don’t have a collisions to collide against from when I set show `Collisions`  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/f/bbf4f1473aff26cb5e5275a104d0ac1917573c3e.jpeg)

I would of thought this functions would of set my collisions for me:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/e/fbefdd7a37f65fdc2d3895ee4ba338950dffdea0.png)

Please assist into what I’m missing here.

Kind Regards,  
JL.

---

<div class="post-metadata">

**Author:** ![r\_q](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@r\_q](https://forums.unrealengine.com/u/r_q)\
**Post date:** [June 19, 2024, 7:13am UTC](https://forums.unrealengine.com/t/dynamic-mesh-actor-failing-line-trace-why/1902651/2 "2024-06-19T07:13:42Z")

</div>

What worked was to use the DynamicMeshComponent → LineTraceComponent.
