# Fly following AI problem

**URL:** <https://forums.unrealengine.com/t/fly-following-ai-problem/456263>\
**Category:** AI\
**Tags:** move, unreal-engine, follow, question\
**Created:** [October 1, 2019, 10:19am UTC](https://forums.unrealengine.com/t/fly-following-ai-problem/456263 "2019-10-01T10:19:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xxxyxyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xxxyxyx](https://forums.unrealengine.com/u/xxxyxyx)\
**Post date:** [October 1, 2019, 10:19am UTC](https://forums.unrealengine.com/t/fly-following-ai-problem/456263/1 "2019-10-01T10:19:19Z")

</div>

![288905-screen.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/a/86a4ee6f3332e48598aea09a44cd2bc91fbe5fec.png)

Hello. I have a problem with flying following AI. when the player’s character is a little higher AI stops following him. How do you make the following AI flying?

AI move to and Move to location not working correctly. please help me

---

<div class="post-metadata">

**Author:** ![chrudimer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrudimer/32/918651_2.png) [@chrudimer](https://forums.unrealengine.com/u/chrudimer)\
**Post date:** [October 1, 2019, 2:37pm UTC](https://forums.unrealengine.com/t/fly-following-ai-problem/456263/2 "2019-10-01T14:37:36Z")

</div>

Hi, you could uncheck “Use Pathfinding” and set the movement type to flying.  
Normally the AI uses the Navmesh to find a way to the target. If there’s no such way the AI won’t move.  
So you can either build in a way for the AI to reach it’s target (a stair or ramp) or ignore the Navmesh. By unchecking “Use Pathfinding” the AI will ignore the Navmesh and move in a straight line to the target. In order be able to reach the target you should then set the character movement type of the AI to “flying”.

 ![288934-ignore-navmesh.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/c/aecc65db3a93eacb6bb694241f508232db8172f2.png)

When the AI reaches the target you can set the movement type back to “walking”.
