# How to get my AI to move

**URL:** <https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 18, 2014, 5:51am UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987 "2014-09-18T05:51:42Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sletherot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sletherot](https://forums.unrealengine.com/u/Sletherot)\
**Post date:** [September 18, 2014, 5:51am UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/1 "2014-09-18T05:51:42Z")

</div>

First I would like to say that I have set up the navmesh. I placed targetpoints on the map and using blackboard and the behavior tree I am trying to get the bot to move between the target points. when I look at the tree I can see that the code is working and all of the points are updating but the bot will not move to the points.  
Any help I could get would be much appreciated. I can take any screenshots you might need. Thanks

---

<div class="post-metadata">

**Author:** ![DarkMountainGaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DarkMountainGaming](https://forums.unrealengine.com/u/DarkMountainGaming)\
**Post date:** [September 18, 2014, 6:44am UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/2 "2014-09-18T06:44:38Z")

</div>

Based on the most rudimentary form of discovery; ‘The process of elimination’, It thus far is not possible. Good luck!

---

<div class="post-metadata">

**Author:** ![Duncan\_Dam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Duncan\_Dam](https://forums.unrealengine.com/u/Duncan_Dam)\
**Post date:** [September 18, 2014, 6:49am UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/3 "2014-09-18T06:49:04Z")

</div>

Your problem can cause by many reasons, screenshot will be useful, especially screenshot when Move task execute.

---

<div class="post-metadata">

**Author:** ![Sletherot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sletherot](https://forums.unrealengine.com/u/Sletherot)\
**Post date:** [September 19, 2014, 12:18am UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/4 "2014-09-19T00:18:33Z")

</div>

Here are the screenshots. Any info would be helpful.  
I watched a few videos online as guides but I still can’t figure it out.

 ![15779-bottree.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/d/7cdcbfd202bacbe22fd75339b341441c96a4e0f7.png)

 ![15780-newroute.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/d/afd6dbdcca56b47a4428065cdcb9b6a08e9477a0.png)

 ![15781-updateroute.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/c/e0c0fb8e1bc5e102634455c24bfd9489651db8e4.png)

---

<div class="post-metadata">

**Author:** ![Duncan\_Dam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Duncan\_Dam](https://forums.unrealengine.com/u/Duncan_Dam)\
**Post date:** [September 19, 2014, 1:53am UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/5 "2014-09-19T01:53:50Z")

</div>

In your find route task, check the Finish Execution as success if not it will treat this one as fail and will not move on.

And 1 more thing, only if he find route then u mark as success if not just mark as fail, depend on how u want to handle.

---

<div class="post-metadata">

**Author:** ![Sletherot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sletherot](https://forums.unrealengine.com/u/Sletherot)\
**Post date:** [September 19, 2014, 2:58am UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/6 "2014-09-19T02:58:23Z")

</div>

I marked it as success but all it did was make the BT not move on to the MoveTo part. When it is unchecked the BT goes through Walk Speed, Find Routes, and Update Routes, but my bot character just wont move.

It almost seems like the built in MoveTo function is broken.

---

<div class="post-metadata">

**Author:** ![Duncan\_Dam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Duncan\_Dam](https://forums.unrealengine.com/u/Duncan_Dam)\
**Post date:** [September 19, 2014, 5:52am UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/7 "2014-09-19T05:52:14Z")

</div>

Test with simple BT with only move to to check if your AI can move, and check if your move target location is valid.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_642ca581](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_642ca581](https://forums.unrealengine.com/u/anonymous_user_642ca581)\
**Post date:** [September 19, 2014, 9:48am UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/8 "2014-09-19T09:48:07Z")

</div>

You can test you’re character movement, it’ll take 5 mins to make and AI BP no behaviour tree needed explained here.[How can I implement random character movement in the character blueprint? - Character & Animation - Epic Developer Community Forums](https://answers.unrealengine.com/questions/97166/how-can-i-implement-random-character-movement-in-t.html)

---

<div class="post-metadata">

**Author:** ![Sletherot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sletherot](https://forums.unrealengine.com/u/Sletherot)\
**Post date:** [September 20, 2014, 5:42am UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/9 "2014-09-20T05:42:02Z")

</div>

So I made a very basic “move to location” and the bot still isnt moving. Any ideas as to why that is?

I will keep trying everything else.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 21, 2014, 2:57pm UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/10 "2014-09-21T14:57:42Z")

</div>

Hi everyone,

Have you tried the AI bot tutorial listed on the wiki? Here is a link to the playlist:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

This should show you how to set up and get your bots moving as you are looking for. The main thing is remembering how to properly set up the sequence of events in the Behavior tree properly. Good luck!

---

<div class="post-metadata">

**Author:** ![Sletherot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sletherot](https://forums.unrealengine.com/u/Sletherot)\
**Post date:** [September 21, 2014, 6:37pm UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/11 "2014-09-21T18:37:19Z")

</div>

this is what I started out by using and it still didnt work… I will keep trying though  
I copied the video exactly watching it 2 times now and it still is not working I don’t know what I am missing…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 22, 2014, 3:25pm UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/12 "2014-09-22T15:25:19Z")

</div>

Are you placing your AI manually or are you using a spawner for each AI? If you are placing manually, try creating an AI spawner that spawns 1 bot and tell me if that works.

---

<div class="post-metadata">

**Author:** ![Sletherot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sletherot](https://forums.unrealengine.com/u/Sletherot)\
**Post date:** [September 22, 2014, 7:35pm UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/13 "2014-09-22T19:35:09Z")

</div>

I have been placing it manually. Let me do that real fast and I will let you know.

I tried it with a poly skeleton from the pack I bought and it works. So it must have been the character that I had made. Thank you for all the help! I really appreciate it!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 22, 2014, 8:37pm UTC](https://forums.unrealengine.com/t/how-to-get-my-ai-to-move/293987/14 "2014-09-22T20:37:18Z")

</div>

Hi Sletherot,

I am happy to hear that you were able to get your AI to work. I am going to mark this as answered for tracking purposes. If this problem ends up persisting, please comment again. Thank you!
