# How to move Ai without Navmesh?

**URL:** <https://forums.unrealengine.com/t/how-to-move-ai-without-navmesh/483864>\
**Category:** AI\
**Tags:** Behavior-Tree, pathfinding, unreal-engine, question\
**Created:** [May 25, 2021, 9:30am UTC](https://forums.unrealengine.com/t/how-to-move-ai-without-navmesh/483864 "2021-05-25T09:30:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anonymous\_80a6c5fd13a5bb3f2cf2b0de25c81196](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_80a6c5fd13a5bb3f2cf2b0de25c81196](https://forums.unrealengine.com/u/Anonymous_80a6c5fd13a5bb3f2cf2b0de25c81196)\
**Post date:** [May 25, 2021, 9:30am UTC](https://forums.unrealengine.com/t/how-to-move-ai-without-navmesh/483864/1 "2021-05-25T09:30:06Z")

</div>

Hello,

I’m making Procedural dungeon. so i can’t pre-define Navmesh volume.

i have own A\* Pathfinding. so Pathfinding itself is no problem i think. (i can make Proper path points)

only problem is my Ai won’t move along that points.

i used Movedirectlytowards but Ai behavior tree just looping, there is no move.

i think they can’t find way to move that point, so fail… but it’s straight line with same Z value…

how can i solve this problem?

thank you

---

<div class="post-metadata">

**Author:** ![mindsurferdev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mindsurferdev](https://forums.unrealengine.com/u/mindsurferdev)\
**Post date:** [May 25, 2021, 11:33am UTC](https://forums.unrealengine.com/t/how-to-move-ai-without-navmesh/483864/2 "2021-05-25T11:33:31Z")

</div>

I believe MoveDirectlyTowards requires a Navmesh. I would use the **AddImpulse** node on an AI that was simulating physics.

 ![339712-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/4/b5494054405bbb93ba09bbed55a6d7d020c13dff.png)

---

<div class="post-metadata">

**Author:** ![Anonymous\_80a6c5fd13a5bb3f2cf2b0de25c81196](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_80a6c5fd13a5bb3f2cf2b0de25c81196](https://forums.unrealengine.com/u/Anonymous_80a6c5fd13a5bb3f2cf2b0de25c81196)\
**Post date:** [May 25, 2021, 12:30pm UTC](https://forums.unrealengine.com/t/how-to-move-ai-without-navmesh/483864/3 "2021-05-25T12:30:44Z")

</div>

thank you for reply, i have never been use add impulse before,with physics? great i will try.

currently i make move to location task. it seem works but not surely

---

<div class="post-metadata">

**Author:** ![mindsurferdev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mindsurferdev](https://forums.unrealengine.com/u/mindsurferdev)\
**Post date:** [May 25, 2021, 1:41pm UTC](https://forums.unrealengine.com/t/how-to-move-ai-without-navmesh/483864/4 "2021-05-25T13:41:18Z")

</div>

Im not sure if you need more help but I can give you more info.

 ![339724-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/1/6c1ea42be5d51ca6f26a11cd8a5d53898499aa44.png)

 ![339725-capture1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/b/60b0d0b1e77adc8075c605b0cabf330da0de61de.png)

---

<div class="post-metadata">

**Author:** ![mindsurferdev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mindsurferdev](https://forums.unrealengine.com/u/mindsurferdev)\
**Post date:** [May 25, 2021, 1:42pm UTC](https://forums.unrealengine.com/t/how-to-move-ai-without-navmesh/483864/5 "2021-05-25T13:42:59Z")

</div>

You just need to add logic for when your AI receives a **NewLocation**.

---

<div class="post-metadata">

**Author:** ![Anonymous\_80a6c5fd13a5bb3f2cf2b0de25c81196](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_80a6c5fd13a5bb3f2cf2b0de25c81196](https://forums.unrealengine.com/u/Anonymous_80a6c5fd13a5bb3f2cf2b0de25c81196)\
**Post date:** [May 25, 2021, 8:19pm UTC](https://forums.unrealengine.com/t/how-to-move-ai-without-navmesh/483864/6 "2021-05-25T20:19:02Z")

</div>

thank you for your kind and info is very helpful

---

<div class="post-metadata">

**Author:** ![RealZCGamer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/realzcgamer/32/989385_2.png) [@RealZCGamer](https://forums.unrealengine.com/u/RealZCGamer)\
**Post date:** [December 31, 2023, 8:38pm UTC](https://forums.unrealengine.com/t/how-to-move-ai-without-navmesh/483864/7 "2023-12-31T20:38:37Z")

</div>

Thanks for this! I used this on a flying actor in my game using Add Actor World Offset, and it works perfect 😃

Your reply should’ve been marked as the answer.

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [January 1, 2024, 7:07am UTC](https://forums.unrealengine.com/t/how-to-move-ai-without-navmesh/483864/8 "2024-01-01T07:07:20Z")

</div>

you can also use movecomponento on the root component or just vinterp the actor location
