# Help with simple trace

**URL:** <https://forums.unrealengine.com/t/help-with-simple-trace/134442>\
**Category:** World Creation\
**Tags:** Tracing, unreal-engine\
**Created:** [December 4, 2019, 7:11am UTC](https://forums.unrealengine.com/t/help-with-simple-trace/134442 "2019-12-04T07:11:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![malosal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@malosal](https://forums.unrealengine.com/u/malosal)\
**Post date:** [December 4, 2019, 7:11am UTC](https://forums.unrealengine.com/t/help-with-simple-trace/134442/1 "2019-12-04T07:11:57Z")

</div>

Hello, I was watching a tutorial which almost showed me what I needed but it didn’t reveal a small part and I figure someone here could help me. Basically, I want to print out what bone my gun is pointed at on another skeletal mesh using a Line Trace Component. Its in the youttube video, which is only 3 minutes long. I’m not sure exactly what was on the left side of the Line trace component node. It seems like its a node, which is what I am trying to figure out, that feeds partly into the Line Trace Component node to run it but also provides an array of Skeletal Meshes I think which feeds in as the Target of the Line Trace Component Node. To simplify, I’m providing a Link to the exact part of the tutorial where you can see the most on the left side and also an image with arrows pointing to the invisible and partly visible I’m looking for. Unfortunately there was a link provided with the files but it is now a dead link. I would appreciate the help.  
Here is the link to the exact part: [WTF Is? Line Trace Component in Unreal Engine 4 ( UE4 ) - YouTube](https://youtu.be/m6MShOvGPto?t=90)  
And I’m attaching an image also:  
https://i.imgur.com/zArTDcF.png

---

<div class="post-metadata">

**Author:** ![Jeel\_884](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jeel_884/32/470791_2.png) [@Jeel\_884](https://forums.unrealengine.com/u/Jeel_884)\
**Post date:** [December 4, 2019, 1:02pm UTC](https://forums.unrealengine.com/t/help-with-simple-trace/134442/2 "2019-12-04T13:02:39Z")

</div>

First is Get attached actors linked to a Get (array) 0.Second is Get World location.(your component name). The missing blue link is your component itself, drag your FP\_gun or sphere from the top left. The last missing link is probably Get Component world rotation he get the forward vector from there which is linked too to the same blue component.

---

<div class="post-metadata">

**Author:** ![malosal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@malosal](https://forums.unrealengine.com/u/malosal)\
**Post date:** [December 4, 2019, 11:37pm UTC](https://forums.unrealengine.com/t/help-with-simple-trace/134442/3 "2019-12-04T23:37:30Z")

</div>

Thanks, Jeel, I’ll try to get it to work from there and see if I can get the same result. I appreciate your help.

---

<div class="post-metadata">

**Author:** ![Jeel\_884](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jeel_884/32/470791_2.png) [@Jeel\_884](https://forums.unrealengine.com/u/Jeel_884)\
**Post date:** [December 5, 2019, 7:06am UTC](https://forums.unrealengine.com/t/help-with-simple-trace/134442/4 "2019-12-05T07:06:02Z")

</div>

![Linecomp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/2/52f18b57c629ec315a2975787512b99d0e6ac58f.jpeg)

Depend your hierarchy you might need another index within the array (get 1 or 2).  
Must be done inside your character blueprint.  
I forgot to multiply the forward vector in the screen.

---

<div class="post-metadata">

**Author:** ![malosal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@malosal](https://forums.unrealengine.com/u/malosal)\
**Post date:** [December 10, 2019, 7:24am UTC](https://forums.unrealengine.com/t/help-with-simple-trace/134442/5 "2019-12-10T07:24:28Z")

</div>

Thanks \*\*Jeel\_884 for making this image for me. It really helps and I believe I got it to work. Again thanks for taking the time to actually create an image to show me, I’m very grateful! \*\*
