# AI

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

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

**Page:** 33

---

## [AI Not Playing Running Animation When moving](https://forums.unrealengine.com/t/ai-not-playing-running-animation-when-moving/1179873)

<div class="topic-metadata">

**Author:** [@Villager-13](https://forums.unrealengine.com/u/Villager-13)\
**Replies:** 0\
**Last updated:** [May 27, 2023, 1:00am UTC](https://forums.unrealengine.com/t/ai-not-playing-running-animation-when-moving/1179873 "2023-05-27T01:00:52Z")

</div>

I have an AI that I want to chase the player, and it plays the idle animation, attack animation, but no running. What is the problem? AI BP AI BP Set State Animation Blueprint What can I do?

---

## [AI controlled player character](https://forums.unrealengine.com/t/ai-controlled-player-character/493091)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_10f362be1](https://forums.unrealengine.com/u/anonymous_user_10f362be1)\
**Replies:** 6\
**Last updated:** [May 23, 2023, 8:57pm UTC](https://forums.unrealengine.com/t/ai-controlled-player-character/493091 "2023-05-23T20:57:40Z")

</div>

Hello, Was wondering if any one had a good approach to having your player character be controlled by AI while having a top down camera on them for a AFK or idle style rpg. I know what AI blueprint i want to run but i ca…

---

## [I want to create an decorator that can decorate select node only, what should I do?](https://forums.unrealengine.com/t/i-want-to-create-an-decorator-that-can-decorate-select-node-only-what-should-i-do/1179055)

<div class="topic-metadata">

**Author:** [@Anonymous\_87d10c9ebf85e67d787c246652e459d7](https://forums.unrealengine.com/u/Anonymous_87d10c9ebf85e67d787c246652e459d7)\
**Replies:** 0\
**Last updated:** [May 26, 2023, 7:43am UTC](https://forums.unrealengine.com/t/i-want-to-create-an-decorator-that-can-decorate-select-node-only-what-should-i-do/1179055 "2023-05-26T07:43:00Z")

</div>

I want to create an decorator that can decorate select node only, what should I do?

---

## [How can I have characters ignore a ragdoll?](https://forums.unrealengine.com/t/how-can-i-have-characters-ignore-a-ragdoll/1177214)

<div class="topic-metadata">

**Author:** [@mattvr90](https://forums.unrealengine.com/u/mattvr90)\
**Replies:** 5\
**Last updated:** [May 25, 2023, 8:51pm UTC](https://forums.unrealengine.com/t/how-can-i-have-characters-ignore-a-ragdoll/1177214 "2023-05-25T20:51:15Z")

</div>

I’m using the AI MoveTo with navigation and it works great. I can easily make it ignore certain meshes by setting their collision responses to Overlap for Pawn and Vehicle. The problem is that when I kill a character, I …

---

## [My behavior tree is working, but continue to fail](https://forums.unrealengine.com/t/my-behavior-tree-is-working-but-continue-to-fail/1177172)

<div class="topic-metadata">

**Author:** [@user\_26c487ba6ff2f2397afe53b950b9d8bf8a005ce7feeb54d76d6415](https://forums.unrealengine.com/u/user_26c487ba6ff2f2397afe53b950b9d8bf8a005ce7feeb54d76d6415)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 1:44am UTC](https://forums.unrealengine.com/t/my-behavior-tree-is-working-but-continue-to-fail/1177172 "2023-05-25T01:44:12Z")

</div>

My tree is working. It can perception and PlayerCheck. My tree just continue to move like in video. I think Patrol node is failed or move to node is not working. Why this problem happen? It worked well for few…

---

## [Intro to Ai With Blueprints tutorial](https://forums.unrealengine.com/t/intro-to-ai-with-blueprints-tutorial/1176855)

<div class="topic-metadata">

**Author:** [@Ashkan.Rahimi.84](https://forums.unrealengine.com/u/Ashkan.Rahimi.84)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 1:35am UTC](https://forums.unrealengine.com/t/intro-to-ai-with-blueprints-tutorial/1176855 "2023-05-25T01:35:22Z")

</div>

Hi In the course Intro to AI with blueprints the AI character is moving around until the Hunger reaches 1 then it goes to nearest food source but when it sees player it starts chasing player and if hunger reaches 1 stil…

---

## [In multiplayer, AI debug is replicated (apostrophe, ') and it's terrible](https://forums.unrealengine.com/t/in-multiplayer-ai-debug-is-replicated-apostrophe-and-its-terrible/1177539)

<div class="topic-metadata">

**Author:** [@JediKnightChan](https://forums.unrealengine.com/u/JediKnightChan)\
**Replies:** 0\
**Last updated:** [May 24, 2023, 11:20pm UTC](https://forums.unrealengine.com/t/in-multiplayer-ai-debug-is-replicated-apostrophe-and-its-terrible/1177539 "2023-05-24T23:20:34Z")

</div>

When in multiplayer session someone presses ’ (apostrophe), it replicates to others (debug screen is shown to players who didn’t press it) and they even stack if another player presses it too. Any fix? 5.1, btw

---

## [In Behavior Trees, can you copy and paste a decorator from one task to another?](https://forums.unrealengine.com/t/in-behavior-trees-can-you-copy-and-paste-a-decorator-from-one-task-to-another/1177020)

<div class="topic-metadata">

**Author:** [@object22](https://forums.unrealengine.com/u/object22)\
**Replies:** 1\
**Last updated:** [May 24, 2023, 1:10pm UTC](https://forums.unrealengine.com/t/in-behavior-trees-can-you-copy-and-paste-a-decorator-from-one-task-to-another/1177020 "2023-05-24T13:10:33Z")

</div>

It seems like such a “duh” thing but I am starting to think the capability isnt there. :confused:

---

## [StateTree. Only immediate child states trigger their parent's tasks.](https://forums.unrealengine.com/t/statetree-only-immediate-child-states-trigger-their-parents-tasks/1176125)

<div class="topic-metadata">

**Author:** [@bibbis](https://forums.unrealengine.com/u/bibbis)\
**Replies:** 0\
**Last updated:** [May 23, 2023, 5:23pm UTC](https://forums.unrealengine.com/t/statetree-only-immediate-child-states-trigger-their-parents-tasks/1176125 "2023-05-23T17:23:02Z")

</div>

I’m trying to make sense of StateTrees logic. I set this up: Every state in this tree has a task to print it’s own name and conditions to moves to another state after 2 seconds. When Child B1 is active, I get the p…

---

## [プレイヤーを追尾するキャラの実装に関して](https://forums.unrealengine.com/t/topic/1175906)

<div class="topic-metadata">

**Author:** [@vorei](https://forums.unrealengine.com/u/vorei)\
**Replies:** 0\
**Last updated:** [May 23, 2023, 2:16pm UTC](https://forums.unrealengine.com/t/topic/1175906 "2023-05-23T14:16:26Z")

</div>

UE5で鬼ごっこゲームを作りたく、鬼にあたるキャラのAIを実装しています。 udemyの講座を見ながら作成しているのですが、キャラが動く際に走るモーションになってくれません。現在はランダムに移動するところまでは作成できていますが、棒立ちのままスルスルと移動してしまいます。 参考にした講座はUE4のもので、UE4で作成した際はちゃんと走るモーションを取ってくれました。使用しているメッシュとアニメーションBPはデフォルトで入っている男性…

---

## [What nav settings do I need to change to walk under this archway?](https://forums.unrealengine.com/t/what-nav-settings-do-i-need-to-change-to-walk-under-this-archway/1175355)

<div class="topic-metadata">

**Author:** [@mattvr90](https://forums.unrealengine.com/u/mattvr90)\
**Replies:** 1\
**Last updated:** [May 23, 2023, 2:15am UTC](https://forums.unrealengine.com/t/what-nav-settings-do-i-need-to-change-to-walk-under-this-archway/1175355 "2023-05-23T02:15:10Z")

</div>

I tried adjusting the agent height and radius in the nav mesh settings, and also tried shrinking the character’s capsule. What do I need to do to close this gap in the navigation? I’m walking under it crouched.

---

## [Play vehicle door animation](https://forums.unrealengine.com/t/play-vehicle-door-animation/1174830)

<div class="topic-metadata">

**Author:** [@user\_cd295b2027d65d7e087fab1864359a1a3fb0b7c25985a4c7c9da0a](https://forums.unrealengine.com/u/user_cd295b2027d65d7e087fab1864359a1a3fb0b7c25985a4c7c9da0a)\
**Replies:** 0\
**Last updated:** [May 22, 2023, 3:27pm UTC](https://forums.unrealengine.com/t/play-vehicle-door-animation/1174830 "2023-05-22T15:27:41Z")

</div>

Character Interaction I made a vehicle according to the manual provided, but Door animations are not working properly The developer is on Discord, but it doesn’t matter help

---

## [My AI seems to be flying away which isn't intended. Messing with the collision settings and presets doesn't work.](https://forums.unrealengine.com/t/my-ai-seems-to-be-flying-away-which-isnt-intended-messing-with-the-collision-settings-and-presets-doesnt-work/1172646)

<div class="topic-metadata">

**Author:** [@slightlybonkers](https://forums.unrealengine.com/u/slightlybonkers)\
**Replies:** 3\
**Last updated:** [May 21, 2023, 8:35am UTC](https://forums.unrealengine.com/t/my-ai-seems-to-be-flying-away-which-isnt-intended-messing-with-the-collision-settings-and-presets-doesnt-work/1172646 "2023-05-21T08:35:14Z")

</div>

Hey everyone, I am here with a question that has been bugging me for more than a day. Unless I only have 1 AI in my level, all of them seem to fly away unless I have a mesh (a ceiling) that blocks them. Killing a second …

---

## [Adding "Run EQS" into selector causes UE to crash](https://forums.unrealengine.com/t/adding-run-eqs-into-selector-causes-ue-to-crash/1169711)

<div class="topic-metadata">

**Author:** [@JediKnightChan](https://forums.unrealengine.com/u/JediKnightChan)\
**Replies:** 1\
**Last updated:** [May 18, 2023, 11:04am UTC](https://forums.unrealengine.com/t/adding-run-eqs-into-selector-causes-ue-to-crash/1169711 "2023-05-18T11:04:42Z")

</div>

When I try to add “Run EQS” into selector in behaviour tree, engine crashes. Was trying to migrate AI content from Lyra into my own game. \[2023.05.18-10.55.11:715\]\[859\]LogAssetEditorSubsystem: Opening Asset editor for B…

---

## [Agent Radus isn't taken in consideration for navigation on a a navmesh - Pathfinding & AI Navigation](https://forums.unrealengine.com/t/agent-radus-isnt-taken-in-consideration-for-navigation-on-a-a-navmesh-pathfinding-ai-navigation/1168435)

<div class="topic-metadata">

**Author:** [@SebExiin](https://forums.unrealengine.com/u/SebExiin)\
**Replies:** 1\
**Last updated:** [May 17, 2023, 12:12pm UTC](https://forums.unrealengine.com/t/agent-radus-isnt-taken-in-consideration-for-navigation-on-a-a-navmesh-pathfinding-ai-navigation/1168435 "2023-05-17T12:12:12Z")

</div>

I’m having very strange issues with the navmesh, it seems I can’t use different agent radius. I’ve declared supported agent with 3 sizes, Small, Medium, Flying. I can visualize every navmesh by changing the “default…

---

## [How to use simple parallel node?](https://forums.unrealengine.com/t/how-to-use-simple-parallel-node/1166320)

<div class="topic-metadata">

**Author:** [@smile\_xc](https://forums.unrealengine.com/u/smile_xc)\
**Replies:** 0\
**Last updated:** [May 15, 2023, 10:11am UTC](https://forums.unrealengine.com/t/how-to-use-simple-parallel-node/1166320 "2023-05-15T10:11:19Z")

</div>

I attached a Move node to the Simple parallel main task node and it was aborted, but if the main task is attached to the wait node, the subtree will work fine with the move node. So what are the requirements for using t…

---

## [How do I make AI that destroys objects? AI](https://forums.unrealengine.com/t/how-do-i-make-ai-that-destroys-objects-ai/1165493)

<div class="topic-metadata">

**Author:** [@Djk150](https://forums.unrealengine.com/u/Djk150)\
**Replies:** 1\
**Last updated:** [May 14, 2023, 11:54pm UTC](https://forums.unrealengine.com/t/how-do-i-make-ai-that-destroys-objects-ai/1165493 "2023-05-14T23:54:21Z")

</div>

I’m currently making a small game for university, all I want is for the tentacle AI to target the wooden platform and destroy it. I can’t find a tutorial anywhere. I would also like to implement the attacking animatio…

---

## [Parent/Child BP related question i think!?](https://forums.unrealengine.com/t/parent-child-bp-related-question-i-think/1165809)

<div class="topic-metadata">

**Author:** [@Slow\_lane](https://forums.unrealengine.com/u/Slow_lane)\
**Replies:** 0\
**Last updated:** [May 14, 2023, 9:57pm UTC](https://forums.unrealengine.com/t/parent-child-bp-related-question-i-think/1165809 "2023-05-14T21:57:37Z")

</div>

I’ve made an enemy, with a Behavior tree,etc. I made a child of said enemy. And put a sword in its hand, and set it up to randomly block incoming attacks, It’ll play a parry recoil animation if i hit it and it’s already …

---

## [Best practices when dealing with navigation for massive landscapes](https://forums.unrealengine.com/t/best-practices-when-dealing-with-navigation-for-massive-landscapes/1160163)

<div class="topic-metadata">

**Author:** [@Neuffexx](https://forums.unrealengine.com/u/Neuffexx)\
**Replies:** 5\
**Last updated:** [May 12, 2023, 2:35pm UTC](https://forums.unrealengine.com/t/best-practices-when-dealing-with-navigation-for-massive-landscapes/1160163 "2023-05-12T14:35:32Z")

</div>

What are some of the ways to deal with needing AI that traverses massive landscapes, but also keeping it performant enough to actually be usable? For example when I have a train the size of 0.5km x 0.5km and use a singl…

---

## ["SetDefaultFocus"-Service doesn't work while AI does MoveTo?](https://forums.unrealengine.com/t/setdefaultfocus-service-doesnt-work-while-ai-does-moveto/1163441)

<div class="topic-metadata">

**Author:** [@OppaAi](https://forums.unrealengine.com/u/OppaAi)\
**Replies:** 0\
**Last updated:** [May 12, 2023, 10:14am UTC](https://forums.unrealengine.com/t/setdefaultfocus-service-doesnt-work-while-ai-does-moveto/1163441 "2023-05-12T10:14:07Z")

</div>

Currently I am learning UE’s BehaviourTree and stumbled uppon the “DefaultFocus”-Service. I hoped to use it as an alternative for a “LockOn”-System, so the AI moves while looking at a certain, moving target (e.g. Player)…

---

## [My character doesn't choose shortest path on Navigation mesh.](https://forums.unrealengine.com/t/my-character-doesnt-choose-shortest-path-on-navigation-mesh/1162794)

<div class="topic-metadata">

**Author:** [@SciKot11](https://forums.unrealengine.com/u/SciKot11)\
**Replies:** 0\
**Last updated:** [May 11, 2023, 6:56pm UTC](https://forums.unrealengine.com/t/my-character-doesnt-choose-shortest-path-on-navigation-mesh/1162794 "2023-05-11T18:56:06Z")

</div>

I am using default character movement with Move To node on behavior tree to navigate between two rooms. And sometimes my character just doesn’t use the shortest path (1 on the picture) and instead he lean to wall an…

---

## [Packaging Error (Ensure condition failed: ObservedKeyNames.Num() \> 0 )](https://forums.unrealengine.com/t/packaging-error-ensure-condition-failed-observedkeynames-num-0/467003)

<div class="topic-metadata">

**Author:** [@Tare\_E](https://forums.unrealengine.com/u/Tare_E)\
**Replies:** 4\
**Last updated:** [May 11, 2023, 9:41am UTC](https://forums.unrealengine.com/t/packaging-error-ensure-condition-failed-observedkeynames-num-0/467003 "2023-05-11T09:41:34Z")

</div>

UATHelper: Packaging (Windows (64-bit)): LogOutputDevice: Error: begin: stack for UAT UATHelper: Packaging (Windows (64-bit)): LogOutputDevice: Error: === Handled ensure: === UATHelper: Packaging (Windows (64-bit)):…

---

## [Behavior Tree Service Not Executing](https://forums.unrealengine.com/t/behavior-tree-service-not-executing/379311)

<div class="topic-metadata">

**Author:** [@JohnGibson](https://forums.unrealengine.com/u/JohnGibson)\
**Replies:** 1\
**Last updated:** [May 11, 2023, 2:20am UTC](https://forums.unrealengine.com/t/behavior-tree-service-not-executing/379311 "2023-05-11T02:20:33Z")

</div>

I’m having an issue with a behavior tree service not executing. The service is meant to monitor things like if an AI is in attack range, and then set some properties for the behavior tree to act on. For testing purposes …

---

## [Change AIPerception Senses Per Pawn?](https://forums.unrealengine.com/t/change-aiperception-senses-per-pawn/1160229)

<div class="topic-metadata">

**Author:** [@blyxzen](https://forums.unrealengine.com/u/blyxzen)\
**Replies:** 2\
**Last updated:** [May 9, 2023, 5:26pm UTC](https://forums.unrealengine.com/t/change-aiperception-senses-per-pawn/1160229 "2023-05-09T17:26:49Z")

</div>

Hello! I have an Enemy AI that I’m working on that uses the default Perception Component on the AI Controller. The Enemy\_Base pawn class that implements the controller has variables for configuring how the enemy will re…

---

## [Setting up AI Sense perception in OnPossess function](https://forums.unrealengine.com/t/setting-up-ai-sense-perception-in-onpossess-function/1157967)

<div class="topic-metadata">

**Author:** [@Suzz](https://forums.unrealengine.com/u/Suzz)\
**Replies:** 0\
**Last updated:** [May 7, 2023, 6:26pm UTC](https://forums.unrealengine.com/t/setting-up-ai-sense-perception-in-onpossess-function/1157967 "2023-05-07T18:26:32Z")

</div>

I’m trying to set an AI sight perception in a custom AI controller based on the sight config parameters defined in the ai pawn owner class. In my character class, I am assigning the sight config parameters (e.g. max age,…

---

## [Floating Pawn get's stuck mid air/ Navmesh path points too sparse](https://forums.unrealengine.com/t/floating-pawn-gets-stuck-mid-air-navmesh-path-points-too-sparse/485035)

<div class="topic-metadata">

**Author:** [@chris4364](https://forums.unrealengine.com/u/chris4364)\
**Replies:** 2\
**Last updated:** [May 5, 2023, 5:51pm UTC](https://forums.unrealengine.com/t/floating-pawn-gets-stuck-mid-air-navmesh-path-points-too-sparse/485035 "2023-05-05T17:51:28Z")

</div>

I’m fiddling around with pawns moving on the navmesh. Since I have in mind doing kind of a RTS style with at least several 100 units, using the character class turned out to be not feasible for performance reasons. My p…

---

## [How to make enemies avoid other enemies' attack hitboxes](https://forums.unrealengine.com/t/how-to-make-enemies-avoid-other-enemies-attack-hitboxes/502398)

<div class="topic-metadata">

**Author:** [@crystal6tak](https://forums.unrealengine.com/u/crystal6tak)\
**Replies:** 10\
**Last updated:** [March 9, 2022, 9:48am UTC](https://forums.unrealengine.com/t/how-to-make-enemies-avoid-other-enemies-attack-hitboxes/502398 "2022-03-09T09:48:41Z")

</div>

Hoping anyone can point me towards what to research/learn to achieve this. I have an enemy character with a melee attack. It’s able to walk forward during the melee attack. (i.e. a sword swinging around) I want to make…

---

## [Generating Navmesh for 2d Sidscroller using Tilemap](https://forums.unrealengine.com/t/generating-navmesh-for-2d-sidscroller-using-tilemap/378935)

<div class="topic-metadata">

**Author:** [@Pickles\_Jr88](https://forums.unrealengine.com/u/Pickles_Jr88)\
**Replies:** 12\
**Last updated:** [May 4, 2023, 4:48pm UTC](https://forums.unrealengine.com/t/generating-navmesh-for-2d-sidscroller-using-tilemap/378935 "2023-05-04T16:48:57Z")

</div>

I am trying to get an AI to follow a player in a 2d sidescroller using a tilemap, but I can’t seem to get the AI to move. I believe it is because no path is being built when I insert a Nav Mesh Bounds Volume. That is, no…

---

## [AI Walking to Flying](https://forums.unrealengine.com/t/ai-walking-to-flying/834170)

<div class="topic-metadata">

**Author:** [@GeorgePaxis](https://forums.unrealengine.com/u/GeorgePaxis)\
**Replies:** 2\
**Last updated:** [May 3, 2023, 4:52am UTC](https://forums.unrealengine.com/t/ai-walking-to-flying/834170 "2023-05-03T04:52:02Z")

</div>

Hello guys! I am having a struggle with a Dragon AI which i make him walk a certain path using Behavior Tree. I am using 3 path points, the two on the surface the third on air. I want him to fly to the third path point b…

---

## [AI Perception doesnt work](https://forums.unrealengine.com/t/ai-perception-doesnt-work/758276)

<div class="topic-metadata">

**Author:** [@4.5cm](https://forums.unrealengine.com/u/4.5cm)\
**Replies:** 2\
**Last updated:** [May 3, 2023, 2:32am UTC](https://forums.unrealengine.com/t/ai-perception-doesnt-work/758276 "2023-05-03T02:32:07Z")

</div>

AI perception doesnt work when spawn AI actor by using SpawnActor func. But it work when i placed in level manually. I already set Auto Possess option as a Place in world and spawn.

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

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