# AI

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=54

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 55

---

## [Best way for AI to chase player if % visible](https://forums.unrealengine.com/t/best-way-for-ai-to-chase-player-if-visible/490693)

<div class="topic-metadata">

**Author:** [@HSwinnie](https://forums.unrealengine.com/u/HSwinnie)\
**Replies:** 2\
**Last updated:** [November 9, 2021, 1:05pm UTC](https://forums.unrealengine.com/t/best-way-for-ai-to-chase-player-if-visible/490693 "2021-11-09T13:05:30Z")

</div>

I have an AI working that can chase the player when it is seen. However, it will start chasing from the moment the player is in vision and I only want it to start seeing the player if it is (around) 70% visible so the pl…

---

## [How would I go about extending UAISense\_Sight?](https://forums.unrealengine.com/t/how-would-i-go-about-extending-uaisense-sight/490603)

<div class="topic-metadata">

**Author:** [@MegadanXzero](https://forums.unrealengine.com/u/MegadanXzero)\
**Replies:** 3\
**Last updated:** [November 8, 2021, 7:29pm UTC](https://forums.unrealengine.com/t/how-would-i-go-about-extending-uaisense-sight/490603 "2021-11-08T19:29:42Z")

</div>

Hey, I’m pretty new to Unreal and I’m trying to figure out how I might extend the UAISense\_Sight class. Creating a derived class that overrides some functions is simple enough, and then I can change the sense implementat…

---

## [Some BT related issues](https://forums.unrealengine.com/t/some-bt-related-issues/259780)

<div class="topic-metadata">

**Author:** [@Ellessarr](https://forums.unrealengine.com/u/Ellessarr)\
**Replies:** 0\
**Last updated:** [November 8, 2021, 5:33am UTC](https://forums.unrealengine.com/t/some-bt-related-issues/259780 "2021-11-08T05:33:31Z")

</div>

hy guys i’m in need of a little “help” with the ai currently i’m working with using a BT for my enemies and i’m experiencing 2 weirds issues: 1 - Enemy attacking only after leave the "vision range: here my enemyBP …

---

## [How can I improve the combat portion of my AI?](https://forums.unrealengine.com/t/how-can-i-improve-the-combat-portion-of-my-ai/490697)

<div class="topic-metadata">

**Author:** [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Replies:** 0\
**Last updated:** [November 7, 2021, 5:36pm UTC](https://forums.unrealengine.com/t/how-can-i-improve-the-combat-portion-of-my-ai/490697 "2021-11-07T17:36:05Z")

</div>

Every other part of my AI is rather smooth but the combat system lacks much. It stares at me instead of shooting when it first sees me through perception. the rotating back toward the player currently uses a MoveComponen…

---

## [Does a Nav Mesh Bounds Volume need a floor?](https://forums.unrealengine.com/t/does-a-nav-mesh-bounds-volume-need-a-floor/257012)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 7\
**Last updated:** [November 6, 2021, 5:09am UTC](https://forums.unrealengine.com/t/does-a-nav-mesh-bounds-volume-need-a-floor/257012 "2021-11-06T05:09:14Z")

</div>

I’m learning how Nav Mesh Bounds Volume works. When I press P key it gets green only where there is a surface on XY plane: As you can see in the image above, the green area is only over the floor but the nav mesh is …

---

## [Behavior Tree Not behaving](https://forums.unrealengine.com/t/behavior-tree-not-behaving/258648)

<div class="topic-metadata">

**Author:** [@Magnum164](https://forums.unrealengine.com/u/Magnum164)\
**Replies:** 5\
**Last updated:** [November 4, 2021, 3:43am UTC](https://forums.unrealengine.com/t/behavior-tree-not-behaving/258648 "2021-11-04T03:43:52Z")

</div>

OK, starting to relearn Unreal and work on some AI and behavior Trees. I have been following several tutorials, understand them but was not expecting the issue I am having. Below is a pic of my simple BT for a drone fly…

---

## [Real time conversational A.I. w/ face movements syncing](https://forums.unrealengine.com/t/real-time-conversational-a-i-w-face-movements-syncing/257966)

<div class="topic-metadata">

**Author:** [@Hmmmmmmm](https://forums.unrealengine.com/u/Hmmmmmmm)\
**Replies:** 2\
**Last updated:** [October 31, 2021, 9:01pm UTC](https://forums.unrealengine.com/t/real-time-conversational-a-i-w-face-movements-syncing/257966 "2021-10-31T21:01:25Z")

</div>

Can we make an avatar connect to a 3rd party conversational A.I. (Conversational A.I. like Alexa), and move the mouth in sync with the words generated in real time to match what is being said?

---

## [What's a good way to give a blackboard enum a default value at the beginning?](https://forums.unrealengine.com/t/whats-a-good-way-to-give-a-blackboard-enum-a-default-value-at-the-beginning/490455)

<div class="topic-metadata">

**Author:** [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Replies:** 1\
**Last updated:** [October 31, 2021, 3:07pm UTC](https://forums.unrealengine.com/t/whats-a-good-way-to-give-a-blackboard-enum-a-default-value-at-the-beginning/490455 "2021-10-31T15:07:49Z")

</div>

Or is there a way to create a service that sets that value at the beginning but only once when the behavior tree begins to execute?

---

## [Navigation mesh when an obstacle dissapear](https://forums.unrealengine.com/t/navigation-mesh-when-an-obstacle-dissapear/256238)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 4\
**Last updated:** [October 31, 2021, 4:41am UTC](https://forums.unrealengine.com/t/navigation-mesh-when-an-obstacle-dissapear/256238 "2021-10-31T04:41:03Z")

</div>

I’ve just started to learn Unreal Engine 4.26.2. To do it I’m developing an Arkanoid clone game. Now I’m implementing the monster that appears at the top of the screen but I don’t know how to move it. Reading (a lot), I…

---

## [Pathfinding for airborne units](https://forums.unrealengine.com/t/pathfinding-for-airborne-units/257936)

<div class="topic-metadata">

**Author:** [@funkytomato](https://forums.unrealengine.com/u/funkytomato)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 5:00pm UTC](https://forums.unrealengine.com/t/pathfinding-for-airborne-units/257936 "2021-10-29T17:00:34Z")

</div>

I have NPC’s roaming about my level. The player character is a helicopter. The AI only seems to work if the helicopter unit is sitting on the NavMesh, for instance the Can See Player function to return a Vector. I wou…

---

## [Move an AI Pawn wihtout Nav Mesh Bound Volume: implementing my own AI Controller](https://forums.unrealengine.com/t/move-an-ai-pawn-wihtout-nav-mesh-bound-volume-implementing-my-own-ai-controller/257011)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 1\
**Last updated:** [October 29, 2021, 1:35am UTC](https://forums.unrealengine.com/t/move-an-ai-pawn-wihtout-nav-mesh-bound-volume-implementing-my-own-ai-controller/257011 "2021-10-29T01:35:28Z")

</div>

I’m developing an Arkanoid clone and I’m trying to figure out how to move the monsters. I have found information about how to move AI enemies using Nav Mesh Bounds Volume but, my enemies fly, and Nav Mesh doesn’t suppo…

---

## [Help me with this mechanic](https://forums.unrealengine.com/t/help-me-with-this-mechanic/490291)

<div class="topic-metadata">

**Author:** [@Sir-penis](https://forums.unrealengine.com/u/Sir-penis)\
**Replies:** 3\
**Last updated:** [October 27, 2021, 10:35pm UTC](https://forums.unrealengine.com/t/help-me-with-this-mechanic/490291 "2021-10-27T22:35:01Z")

</div>

Hi so im completely new to unreal and blueprints but i was wondering if anyone could tell me how to go about this mechanic. Im trying to make it so when the game starts, enemy ai will spawn randomly in four spawning …

---

## [Reset behavior tree after reusing AI pawn/controller](https://forums.unrealengine.com/t/reset-behavior-tree-after-reusing-ai-pawn-controller/381622)

<div class="topic-metadata">

**Author:** [@PenguinTD](https://forums.unrealengine.com/u/PenguinTD)\
**Replies:** 2\
**Last updated:** [October 26, 2021, 10:29pm UTC](https://forums.unrealengine.com/t/reset-behavior-tree-after-reusing-ai-pawn-controller/381622 "2021-10-26T22:29:57Z")

</div>

My question is when you pool AI pawn and controller, in order to stop AI brain you just need to unpossess. However upon repossess, the controller and pawn might not be the same pair or at their original location. When I …

---

## [BB Key changing for all AI (instead of just 1)](https://forums.unrealengine.com/t/bb-key-changing-for-all-ai-instead-of-just-1/490212)

<div class="topic-metadata">

**Author:** [@Zoiddenbergen](https://forums.unrealengine.com/u/Zoiddenbergen)\
**Replies:** 2\
**Last updated:** [October 26, 2021, 7:36pm UTC](https://forums.unrealengine.com/t/bb-key-changing-for-all-ai-instead-of-just-1/490212 "2021-10-26T19:36:28Z")

</div>

I have multiple AI characters of the same class, with the same AI controller/ behavior tree / blackboard. They are melee units that start attacking based on the Blackboard Key boolean “TargetMeleeRange”. However, any tim…

---

## [Navigation in world composition?](https://forums.unrealengine.com/t/navigation-in-world-composition/490233)

<div class="topic-metadata">

**Author:** [@Limp\_Noodle](https://forums.unrealengine.com/u/Limp_Noodle)\
**Replies:** 1\
**Last updated:** [October 25, 2021, 5:44pm UTC](https://forums.unrealengine.com/t/navigation-in-world-composition/490233 "2021-10-25T17:44:40Z")

</div>

I have the navigation system to generate only around navigation invokers. I have placed nav invokers in my AI blueprints. I have placed a nav mesh bounds in the persistent level and have none in the sub-levels. My AI wil…

---

## [Why Ai Goes away when they are many?](https://forums.unrealengine.com/t/why-ai-goes-away-when-they-are-many/256876)

<div class="topic-metadata">

**Author:** [@ChrixBed](https://forums.unrealengine.com/u/ChrixBed)\
**Replies:** 1\
**Last updated:** [October 25, 2021, 3:40pm UTC](https://forums.unrealengine.com/t/why-ai-goes-away-when-they-are-many/256876 "2021-10-25T15:40:05Z")

</div>

I’m learning Ai feature of Unreal Engine 5 and I can’t figure out why when I spawn multiple NPC Ai characters they do not behave like when only one is there? In a nutshell they do not follow the behaviour tree, any he…

---

## [Behavior tree is coming as null ptr](https://forums.unrealengine.com/t/behavior-tree-is-coming-as-null-ptr/490229)

<div class="topic-metadata">

**Author:** [@i\_am\_burni](https://forums.unrealengine.com/u/i_am_burni)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 1:12pm UTC](https://forums.unrealengine.com/t/behavior-tree-is-coming-as-null-ptr/490229 "2021-10-25T13:12:47Z")

</div>

hi i am experiencing the same problem as please help they havent cleared the problem

---

## [Multiple AI movement / navmesh](https://forums.unrealengine.com/t/multiple-ai-movement-navmesh/490002)

<div class="topic-metadata">

**Author:** [@Pikatju](https://forums.unrealengine.com/u/Pikatju)\
**Replies:** 2\
**Last updated:** [October 23, 2021, 10:16pm UTC](https://forums.unrealengine.com/t/multiple-ai-movement-navmesh/490002 "2021-10-23T22:16:31Z")

</div>

Hi Guys I’ve really tried to search forums, internet and videos for an answers to my lack of understanding this Navmesh. Basicly I want to have to AI characters to move around the map. Character 1 should be able to mov…

---

## [AI: Navigating to outside of navigation invoker range](https://forums.unrealengine.com/t/ai-navigating-to-outside-of-navigation-invoker-range/429493)

<div class="topic-metadata">

**Author:** [@majesttro](https://forums.unrealengine.com/u/majesttro)\
**Replies:** 4\
**Last updated:** [October 21, 2021, 2:29pm UTC](https://forums.unrealengine.com/t/ai-navigating-to-outside-of-navigation-invoker-range/429493 "2021-10-21T14:29:11Z")

</div>

Hi. I have an AI character that uses dynamic navigation with a NavigationInvoker with limited range for performance reasons. My map is open world with dynamic features and quite large in size, so dynamic navigation has t…

---

## [Does Navigation mesh works on Z axis?](https://forums.unrealengine.com/t/does-navigation-mesh-works-on-z-axis/256414)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 2\
**Last updated:** [October 20, 2021, 9:30am UTC](https://forums.unrealengine.com/t/does-navigation-mesh-works-on-z-axis/256414 "2021-10-20T09:30:03Z")

</div>

I’ve just started to learn Unreal Engine 4.26.2 and I have added a Navigation Mesh Volume to a test level to know if it works on this axis. This is a simple level with a nav mesh bounds volume and two Static Mesh Actors…

---

## [EQS c++ programmatically output results](https://forums.unrealengine.com/t/eqs-c-programmatically-output-results/486545)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_675b8849](https://forums.unrealengine.com/u/anonymous_user_675b8849)\
**Replies:** 7\
**Last updated:** [October 20, 2021, 12:41am UTC](https://forums.unrealengine.com/t/eqs-c-programmatically-output-results/486545 "2021-10-20T00:41:01Z")

</div>

Trying to follow through Unreal Engine: Environment Query System (EQS) in C++ – Think And Build However, I need to do as much of this through c++ as possible, since I will be using my own AI to interpret and respond to …

---

## [Underground placed AI objects appear on top of terrain surface](https://forums.unrealengine.com/t/underground-placed-ai-objects-appear-on-top-of-terrain-surface/256283)

<div class="topic-metadata">

**Author:** [@NassauSthlm](https://forums.unrealengine.com/u/NassauSthlm)\
**Replies:** 0\
**Last updated:** [October 17, 2021, 9:31pm UTC](https://forums.unrealengine.com/t/underground-placed-ai-objects-appear-on-top-of-terrain-surface/256283 "2021-10-17T21:31:51Z")

</div>

In UE5 I placed a pretty simple AI car object UNDER the surface of a landscape (underground garage). When playing the level the car gets on top of the terrain instead. Placement works perfectly when placing the AI outsi…

---

## [Navmesh runtime generation - Dynamic](https://forums.unrealengine.com/t/navmesh-runtime-generation-dynamic/253734)

<div class="topic-metadata">

**Author:** [@maordany](https://forums.unrealengine.com/u/maordany)\
**Replies:** 1\
**Last updated:** [October 15, 2021, 7:15pm UTC](https://forums.unrealengine.com/t/navmesh-runtime-generation-dynamic/253734 "2021-10-15T19:15:32Z")

</div>

I want to build navmesh at runtime but I did not find how. The only thing I found so that AI could move well in a map built in real time is to use (Navmesh runtime generation - Dynamic) The problem is that it lowers perf…

---

## [AI MoveTo is not completing](https://forums.unrealengine.com/t/ai-moveto-is-not-completing/489885)

<div class="topic-metadata">

**Author:** [@Gary\_P](https://forums.unrealengine.com/u/Gary_P)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 11:17pm UTC](https://forums.unrealengine.com/t/ai-moveto-is-not-completing/489885 "2021-10-14T23:17:55Z")

</div>

Has anyone found that AI MoveTo refuses to complete sometimes? My Blueprint is so simple. Move to a location, then turn and face a direction. The location is my console blueprint that’s a simple model with a scene comp…

---

## [Characters not registered by NavMesh when streaming a level](https://forums.unrealengine.com/t/characters-not-registered-by-navmesh-when-streaming-a-level/489868)

<div class="topic-metadata">

**Author:** [@Fraps2020](https://forums.unrealengine.com/u/Fraps2020)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 12:12pm UTC](https://forums.unrealengine.com/t/characters-not-registered-by-navmesh-when-streaming-a-level/489868 "2021-10-14T12:12:00Z")

</div>

Hi all, I’m having a problem with AI not being registered correctly by the navigation system. I have: a Persistent Level, without a Nav-Mesh nor any geometry; basically composed by just UI Widgets a set of Streamed…

---

## [How to make AI avoidance better?](https://forums.unrealengine.com/t/how-to-make-ai-avoidance-better/489866)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7a89bb3c](https://forums.unrealengine.com/u/anonymous_user_7a89bb3c)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 11:10am UTC](https://forums.unrealengine.com/t/how-to-make-ai-avoidance-better/489866 "2021-10-14T11:10:35Z")

</div>

Hey! I have an AI, that uses root motion to move. The problem is that when the AI try to avoid an other AI, the Crowd Ai controller decreases both AI’s speed. Is there a way to fix this and avoid each other with normal s…

---

## [Retop (Retopologize) breaks Navigation on landscape tile](https://forums.unrealengine.com/t/retop-retopologize-breaks-navigation-on-landscape-tile/255644)

<div class="topic-metadata">

**Author:** [@Vi-So\_Construct](https://forums.unrealengine.com/u/Vi-So_Construct)\
**Replies:** 0\
**Last updated:** [October 13, 2021, 9:45am UTC](https://forums.unrealengine.com/t/retop-retopologize-breaks-navigation-on-landscape-tile/255644 "2021-10-13T09:45:13Z")

</div>

Heey all! We have experienced a nasty bug where as soon as you Retop a piece of landscape it will break the whole navigation on that specific landscape tile. We know that te Retop can be removed with: “RemoveLandscapeX…

---

## [My projects only Behavior Tree is running without being connected. How does this happen and how can I prevent it in the future?](https://forums.unrealengine.com/t/my-projects-only-behavior-tree-is-running-without-being-connected-how-does-this-happen-and-how-can-i-prevent-it-in-the-future/489681)

<div class="topic-metadata">

**Author:** [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Replies:** 1\
**Last updated:** [October 10, 2021, 9:10am UTC](https://forums.unrealengine.com/t/my-projects-only-behavior-tree-is-running-without-being-connected-how-does-this-happen-and-how-can-i-prevent-it-in-the-future/489681 "2021-10-10T09:10:52Z")

</div>

350079- \]\[1\]

---

## [How do I get areas lower on a tree (ExecuteAI) to not be retriggered by above nodes (Execute TickAI) but instead allowed to complete it's instructions before moving on?](https://forums.unrealengine.com/t/how-do-i-get-areas-lower-on-a-tree-executeai-to-not-be-retriggered-by-above-nodes-execute-tickai-but-instead-allowed-to-complete-its-instructions-before-moving-on/489644)

<div class="topic-metadata">

**Author:** [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Replies:** 2\
**Last updated:** [October 8, 2021, 12:29am UTC](https://forums.unrealengine.com/t/how-do-i-get-areas-lower-on-a-tree-executeai-to-not-be-retriggered-by-above-nodes-execute-tickai-but-instead-allowed-to-complete-its-instructions-before-moving-on/489644 "2021-10-08T00:29:14Z")

</div>

BTS at the top looks for player and doesn’t work without tick. The nodes on the bottom need to be allowed to go in a certain sequence but the whole thing keeps getting retriggered by the tick at the top.and forced to sta…

---

## [Using NavModifierVolume to delimit NavMesh in "Dynamic Modifiers Only" mode](https://forums.unrealengine.com/t/using-navmodifiervolume-to-delimit-navmesh-in-dynamic-modifiers-only-mode/489633)

<div class="topic-metadata">

**Author:** [@YvesGrolet](https://forums.unrealengine.com/u/YvesGrolet)\
**Replies:** 0\
**Last updated:** [October 7, 2021, 3:18pm UTC](https://forums.unrealengine.com/t/using-navmodifiervolume-to-delimit-navmesh-in-dynamic-modifiers-only-mode/489633 "2021-10-07T15:18:31Z")

</div>

To delimit our NavMesh we are using NavModifierVolumes (seems the recommanded approach). With “Static” Runtime Generation we are able to preprocess the NavMesh for best performance. But we would also need NavModifierVol…

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=53)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=55)
