# Help me find end vector of the location

**URL:** <https://forums.unrealengine.com/t/help-me-find-end-vector-of-the-location/482873>\
**Category:** Community & Industry Discussion\
**Tags:** math, rotator, pathfinding, unreal-engine, vector, question\
**Created:** [May 4, 2021, 9:55am UTC](https://forums.unrealengine.com/t/help-me-find-end-vector-of-the-location/482873 "2021-05-04T09:55:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shedels](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shedels/32/1121823_2.png) [@Shedels](https://forums.unrealengine.com/u/Shedels)\
**Post date:** [May 4, 2021, 9:55am UTC](https://forums.unrealengine.com/t/help-me-find-end-vector-of-the-location/482873/1 "2021-05-04T09:55:28Z")

</div>

Hello! I need my bot find the random point, which has to be more than 3000 unreal units far from origin location.  
I use random rotator and forward vector to start point.

What i need to fing the finish?

 ![337903-123.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/e/8be354bbd22259e7d62d2fe01eb6cbf46a5ded5d.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 4, 2021, 10:13am UTC](https://forums.unrealengine.com/t/help-me-find-end-vector-of-the-location/482873/2 "2021-05-04T10:13:05Z")

</div>

Probably this:

 ![337924-screenshot-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/f/ccfcaef8245846e04f0bece3ebe5718ce4dc675d.png)
