# Help with a line from the player

**URL:** <https://forums.unrealengine.com/t/help-with-a-line-from-the-player/481441>\
**Category:** Rendering\
**Tags:** Render, line, unreal-engine, question\
**Created:** [April 5, 2021, 9:32pm UTC](https://forums.unrealengine.com/t/help-with-a-line-from-the-player/481441 "2021-04-05T21:32:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![llYuell](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/llyuell/32/88708_2.png) [@llYuell](https://forums.unrealengine.com/u/llYuell)\
**Post date:** [April 5, 2021, 9:32pm UTC](https://forums.unrealengine.com/t/help-with-a-line-from-the-player/481441/1 "2021-04-05T21:32:38Z")

</div>

![334865-ray.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/c/b/acb5c7b77a3d9a4f68b7c9ba2649476d637798cf.png)

Hi, the question is that I need to check if the player falls face first against the floor, or backwards, all this to run a recovery animation after the ragdoll effect.

However this does not work for me as I expect. The idea is that the line points from the pelvis to the front of the player.

I welcome any suggestions.

 ![334866-ray.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/4/c543c239e3ba82f60040391923803db7929abfa0.jpeg)

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [April 6, 2021, 4:38pm UTC](https://forums.unrealengine.com/t/help-with-a-line-from-the-player/481441/2 "2021-04-06T16:38:53Z")

</div>

Hello! You can just use **UArrowComponent** …

---

<div class="post-metadata">

**Author:** ![llYuell](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/llyuell/32/88708_2.png) [@llYuell](https://forums.unrealengine.com/u/llYuell)\
**Post date:** [April 6, 2021, 5:22pm UTC](https://forums.unrealengine.com/t/help-with-a-line-from-the-player/481441/3 "2021-04-06T17:22:02Z")

</div>

![334946-flecha.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/b/9bb9deee91a9f0946ae46356bcc5358bf5500dd0.png)

Thanks for the suggestion, but I have a question, how can I know if that arrow collides with any object?

---

<div class="post-metadata">

**Author:** ![Nightjass](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nightjass](https://forums.unrealengine.com/u/Nightjass)\
**Post date:** [April 6, 2021, 11:03pm UTC](https://forums.unrealengine.com/t/help-with-a-line-from-the-player/481441/4 "2021-04-06T23:03:52Z")

</div>

Hi YueDarkkkkk.

If I understand your question correctly, then you can simply use the forward vector as shown in the screenshots.

 ![335002-code.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/c/12c39fd411e3a1da08f10eb311baf540c1b77cdc.png)

 ![335003-game.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/a/42a579148287830429cb9c58a43237e42d39f44c.png)

Hope, this is helpful for you)
