# MoveToLocation and AIMoveTo are not working correctly

**URL:** <https://forums.unrealengine.com/t/movetolocation-and-aimoveto-are-not-working-correctly/402175>\
**Category:** AI\
**Tags:** move-to-location, ai-move-to, unreal-engine, question\
**Created:** [August 18, 2017, 9:12am UTC](https://forums.unrealengine.com/t/movetolocation-and-aimoveto-are-not-working-correctly/402175 "2017-08-18T09:12:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_6efe45a3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6efe45a3](https://forums.unrealengine.com/u/anonymous_user_6efe45a3)\
**Post date:** [August 18, 2017, 9:12am UTC](https://forums.unrealengine.com/t/movetolocation-and-aimoveto-are-not-working-correctly/402175/1 "2017-08-18T09:12:28Z")

</div>

Hello.  
I have a problem with AI. AI is chasing player correctly when there are no breaks in navmesh. But if the player goes on a platform, AI tries to reach him from bottom, although it has NavMesh next to it. Acceptance radius is 4 and AI is not close to the player. Flow is going through MoveTo but AI is just standing under the platform. I have no idea what is wrong.

 ![210272-aislope.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/6/b76c554cc20d592ae1751437bf717d1186f1c329.jpeg)

---

<div class="post-metadata">

**Author:** ![MichaelWion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MichaelWion](https://forums.unrealengine.com/u/MichaelWion)\
**Post date:** [January 22, 2019, 1:01am UTC](https://forums.unrealengine.com/t/movetolocation-and-aimoveto-are-not-working-correctly/402175/2 "2019-01-22T01:01:23Z")

</div>

You can use a Nav Link Proxy to have the AI go up the slope to the player.

> **[1.2 - Nav Link Proxy](https://docs.unrealengine.com/4.27/en-US/Resources/ContentExamples/NavMesh/1_2/)**
>
> An overview of the NavMesh example level, example 1.2: Nav Link Proxy.

EDIT: Wait, I misread. You want the AI to go _around_ the platform and _up_ the left-most slope, but it’s stopping below the player, correct? You could try adding a one-way Nav Link Proxy from the top of the platform to the bottom, which might give the AI some additional data to work with, but other than that, it should already work as-is (though it’s hard to tell from the image)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [January 22, 2019, 1:10am UTC](https://forums.unrealengine.com/t/movetolocation-and-aimoveto-are-not-working-correctly/402175/3 "2019-01-22T01:10:26Z")

</div>

Hard to see by drawing, but if you have a slop, is the slop too steep for the AI to travel up it?

Regards

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [January 22, 2019, 1:36am UTC](https://forums.unrealengine.com/t/movetolocation-and-aimoveto-are-not-working-correctly/402175/4 "2019-01-22T01:36:58Z")

</div>

Is success output firing when the AI stops? Do you have Stop on Overlap checked? If your player BP has any large components(i.e. sphere collision) maybe the AI is overlapping and stopping. Uncheck that if that’s the case. Also keep an eye on Movement result, see what the AI is doing when it stops there.
