# AI

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

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

**Page:** 43

---

## [Artificial Intelligence](https://forums.unrealengine.com/t/artificial-intelligence/655637)

<div class="topic-metadata">

**Author:** [@ToshiYura](https://forums.unrealengine.com/u/ToshiYura)\
**Replies:** 8\
**Last updated:** [September 27, 2022, 12:49am UTC](https://forums.unrealengine.com/t/artificial-intelligence/655637 "2022-09-27T00:49:27Z")

</div>

Hey, i would like to know how can i solve a problem in my project, i programmed an AI to get in patrol, alert and chase, the patrol and alert part work ok but the chase don’t work, the ai don’t recognize me even in front…

---

## [Invalid Controller received (task/behavior tree)](https://forums.unrealengine.com/t/invalid-controller-received-task-behavior-tree/620382)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 4\
**Last updated:** [September 26, 2022, 4:55am UTC](https://forums.unrealengine.com/t/invalid-controller-received-task-behavior-tree/620382 "2022-09-26T04:55:57Z")

</div>

I am getting this error when trying to run the predefined tasks in a behavior tree. i did my own task and it does work fine What am I doing wrong in the first case? I want to use the predefined tasks if it…

---

## [Sphere Trace at same location as Hit Event location not returning anything](https://forums.unrealengine.com/t/sphere-trace-at-same-location-as-hit-event-location-not-returning-anything/654147)

<div class="topic-metadata">

**Author:** [@RigelOrionBeta](https://forums.unrealengine.com/u/RigelOrionBeta)\
**Replies:** 3\
**Last updated:** [September 25, 2022, 11:38pm UTC](https://forums.unrealengine.com/t/sphere-trace-at-same-location-as-hit-event-location-not-returning-anything/654147 "2022-09-25T23:38:21Z")

</div>

I have a game with high velocities and physics based movement, vehicles travelling 300-800 m/s. When these vehicles collide with the terrain, I have a custom event set up to trigger. I take the Hit.Location passed into t…

---

## [All behavior tree nodes execute twice](https://forums.unrealengine.com/t/all-behavior-tree-nodes-execute-twice/655886)

<div class="topic-metadata">

**Author:** [@elguapador](https://forums.unrealengine.com/u/elguapador)\
**Replies:** 2\
**Last updated:** [September 25, 2022, 12:54pm UTC](https://forums.unrealengine.com/t/all-behavior-tree-nodes-execute-twice/655886 "2022-09-25T12:54:22Z")

</div>

Been working on a project for the best part of this year and just discovered that all my BT tasks are running twice. All logic in in Blueprints except for running the behavior tree from AI controller C++ on possess. Hop…

---

## [How to use AI Touch Sense Config?](https://forums.unrealengine.com/t/how-to-use-ai-touch-sense-config/652055)

<div class="topic-metadata">

**Author:** [@felou16](https://forums.unrealengine.com/u/felou16)\
**Replies:** 7\
**Last updated:** [September 24, 2022, 8:01pm UTC](https://forums.unrealengine.com/t/how-to-use-ai-touch-sense-config/652055 "2022-09-24T20:01:24Z")

</div>

Hi Everyone ! I am using UE 4.27 and scripting with Blueprint. I am trying to learn about AI with behavior trees, so I followed this tutorial. At the end, it introduces the AI Perception system with an AI Sight Config. …

---

## [AI \[CanSeePlayer\] key - Both true & false at the same time?](https://forums.unrealengine.com/t/ai-canseeplayer-key-both-true-false-at-the-same-time/655111)

<div class="topic-metadata">

**Author:** [@BO-DACIOUS](https://forums.unrealengine.com/u/BO-DACIOUS)\
**Replies:** 3\
**Last updated:** [September 24, 2022, 5:55pm UTC](https://forums.unrealengine.com/t/ai-canseeplayer-key-both-true-false-at-the-same-time/655111 "2022-09-24T17:55:43Z")

</div>

Hi guys. This is the weirdest problem ive seen. The K\_CanSeePlayer key is set to true in the print string when looking right at the player. But in the AI debugging it says its false. How is this possible? My AI wont eve…

---

## [NavMesh configuration for multiple size](https://forums.unrealengine.com/t/navmesh-configuration-for-multiple-size/308244)

<div class="topic-metadata">

**Author:** [@beanhome](https://forums.unrealengine.com/u/beanhome)\
**Replies:** 4\
**Last updated:** [September 22, 2022, 6:21am UTC](https://forums.unrealengine.com/t/navmesh-configuration-for-multiple-size/308244 "2022-09-22T06:21:34Z")

</div>

I don’t succeed to configure nav mesh generation for 3 Agents of different height. (On the 4.7) My three agents have the same radius (32) and the height of 64, 128 and 180. The 64 sized agents should go under the 80…

---

## [AI will acting odd and can't work it out!!! PLEASE HELP ](https://forums.unrealengine.com/t/ai-will-acting-odd-and-cant-work-it-out-please-help/651865)

<div class="topic-metadata">

**Author:** [@thomashorsted](https://forums.unrealengine.com/u/thomashorsted)\
**Replies:** 6\
**Last updated:** [September 20, 2022, 6:21pm UTC](https://forums.unrealengine.com/t/ai-will-acting-odd-and-cant-work-it-out-please-help/651865 "2022-09-20T18:21:26Z")

</div>

I have an ai that can follow and attack a player and also can just walk around in the same blueprint but not connected code. How do I combine these two things. As my ai won’t do both, as it sees the player then starts to…

---

## [Cast from player character BP to ai character BP?](https://forums.unrealengine.com/t/cast-from-player-character-bp-to-ai-character-bp/410962)

<div class="topic-metadata">

**Author:** [@endbored](https://forums.unrealengine.com/u/endbored)\
**Replies:** 7\
**Last updated:** [September 20, 2022, 6:34am UTC](https://forums.unrealengine.com/t/cast-from-player-character-bp-to-ai-character-bp/410962 "2022-09-20T06:34:53Z")

</div>

cant find a solution for this, trying to cast from player-character blueprint to ai-character blueprint, what is the object i have to link here? what i want to do is fire a custom event in ai-character BP when i press a…

---

## [Velocity Solver Iteration Count in EU5 on single object without C++?](https://forums.unrealengine.com/t/velocity-solver-iteration-count-in-eu5-on-single-object-without-c/652251)

<div class="topic-metadata">

**Author:** [@Junebizzy2022](https://forums.unrealengine.com/u/Junebizzy2022)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 4:29am UTC](https://forums.unrealengine.com/t/velocity-solver-iteration-count-in-eu5-on-single-object-without-c/652251 "2022-09-20T04:29:14Z")

</div>

Is it possible to set the Velocity Iteration Count in Unreal 5 on a single object without opening C++?

---

## [Exception: Exception 0xc0000005 encountered at address 0x7fff39c04410: Access violation reading location 0x00000008](https://forums.unrealengine.com/t/exception-exception-0xc0000005-encountered-at-address-0x7fff39c04410-access-violation-reading-location-0x00000008/651806)

<div class="topic-metadata">

**Author:** [@ALLST4R\_SLAY3R](https://forums.unrealengine.com/u/ALLST4R_SLAY3R)\
**Replies:** 1\
**Last updated:** [September 19, 2022, 2:08pm UTC](https://forums.unrealengine.com/t/exception-exception-0xc0000005-encountered-at-address-0x7fff39c04410-access-violation-reading-location-0x00000008/651806 "2022-09-19T14:08:39Z")

</div>

Everytime I try to compile my code I get stuck on this “Exception: Exception 0xc0000005 encountered at address 0x7fff39c04410: Access violation reading location 0x00000008”. I don’t know what is causing this or how to fi…

---

## [Blend Poses by Enum](https://forums.unrealengine.com/t/blend-poses-by-enum/645970)

<div class="topic-metadata">

**Author:** [@Dimajio333](https://forums.unrealengine.com/u/Dimajio333)\
**Replies:** 0\
**Last updated:** [September 10, 2022, 9:41pm UTC](https://forums.unrealengine.com/t/blend-poses-by-enum/645970 "2022-09-10T21:41:52Z")

</div>

DA, I have a noob question about blend poses by enum in ABP of my AI: I have the enum with 10 different poses in ABP with the variable PoseSelector. The idea is to change the poses of AI during one task over a certain pe…

---

## [Ai - UE4 - Enemy never moves after investigating noise](https://forums.unrealengine.com/t/ai-ue4-enemy-never-moves-after-investigating-noise/644571)

<div class="topic-metadata">

**Author:** [@BO-DACIOUS](https://forums.unrealengine.com/u/BO-DACIOUS)\
**Replies:** 5\
**Last updated:** [September 10, 2022, 8:17pm UTC](https://forums.unrealengine.com/t/ai-ue4-enemy-never-moves-after-investigating-noise/644571 "2022-09-10T20:17:20Z")

</div>

Hey guys. I’m very new to AI and I’m following a video series that’s a bit above my level of knowledge. I’ve set up the AI enemy to investigate a noise, but he never does anything else after getting to the noise location…

---

## [Pawn sensing component's sight doesn't work](https://forums.unrealengine.com/t/pawn-sensing-components-sight-doesnt-work/550537)

<div class="topic-metadata">

**Author:** [@Cybeaster](https://forums.unrealengine.com/u/Cybeaster)\
**Replies:** 3\
**Last updated:** [September 10, 2022, 6:20am UTC](https://forums.unrealengine.com/t/pawn-sensing-components-sight-doesnt-work/550537 "2022-09-10T06:20:13Z")

</div>

I created UPawnSensingComponent in constructor binding delegates to it. The problem is that OnHearNoise fires, but OnSeePawn doesn’t. I tried many things but I still can’t make it working.

---

## [Animal AI Won't Move, Idle](https://forums.unrealengine.com/t/animal-ai-wont-move-idle/625872)

<div class="topic-metadata">

**Author:** [@Leomerya12](https://forums.unrealengine.com/u/Leomerya12)\
**Replies:** 13\
**Last updated:** [September 9, 2022, 5:14pm UTC](https://forums.unrealengine.com/t/animal-ai-wont-move-idle/625872 "2022-09-09T17:14:56Z")

</div>

Hello, everyone! I used Matt Aspland’s tutorial for AI Animal Movement (Setting Up The Basic Movement | Part 1 Of Creating An Animal AI In Unreal Engine 4 - YouTube), and my character only stays in place with the idle a…

---

## [AI Move To alternative for making the AI rotate toward something](https://forums.unrealengine.com/t/ai-move-to-alternative-for-making-the-ai-rotate-toward-something/623406)

<div class="topic-metadata">

**Author:** [@MrGoatsy](https://forums.unrealengine.com/u/MrGoatsy)\
**Replies:** 12\
**Last updated:** [September 9, 2022, 6:02am UTC](https://forums.unrealengine.com/t/ai-move-to-alternative-for-making-the-ai-rotate-toward-something/623406 "2022-09-09T06:02:41Z")

</div>

I want the AI to walk across patrol points, which I have working, but then he needs to rotate towards the rotator of the patrol point, I can use move component to, but that just makes him slide towards the wanted rotator…

---

## [Behavior tree, Selector always executing the first Black Board](https://forums.unrealengine.com/t/behavior-tree-selector-always-executing-the-first-black-board/644135)

<div class="topic-metadata">

**Author:** [@Anderson.Martins](https://forums.unrealengine.com/u/Anderson.Martins)\
**Replies:** 2\
**Last updated:** [September 9, 2022, 12:08am UTC](https://forums.unrealengine.com/t/behavior-tree-selector-always-executing-the-first-black-board/644135 "2022-09-09T00:08:04Z")

</div>

Hello, I’m facing an insue on my behavior tree, when a NPC spwans in world the BT always executes the first black board (inside the yellow circle), even when it faills, then executes the right one. It’s supposed to exec…

---

## [Circle under the player character](https://forums.unrealengine.com/t/circle-under-the-player-character/644650)

<div class="topic-metadata">

**Author:** [@NaimAhmed01](https://forums.unrealengine.com/u/NaimAhmed01)\
**Replies:** 1\
**Last updated:** [September 8, 2022, 10:46pm UTC](https://forums.unrealengine.com/t/circle-under-the-player-character/644650 "2022-09-08T22:46:20Z")

</div>

When shooting, enemy will choose random point in a determined radius around the character. From that location enemy will shoot?

---

## [Hi guys im having trouble working with the Ai Behaviour trees (  im very new to UE im sorry for any stupid mistakes)](https://forums.unrealengine.com/t/hi-guys-im-having-trouble-working-with-the-ai-behaviour-trees-im-very-new-to-ue-im-sorry-for-any-stupid-mistakes/633799)

<div class="topic-metadata">

**Author:** [@ox0GoDErr0r](https://forums.unrealengine.com/u/ox0GoDErr0r)\
**Replies:** 0\
**Last updated:** [August 25, 2022, 1:47am UTC](https://forums.unrealengine.com/t/hi-guys-im-having-trouble-working-with-the-ai-behaviour-trees-im-very-new-to-ue-im-sorry-for-any-stupid-mistakes/633799 "2022-08-25T01:47:13Z")

</div>

Hi guys im having trouble working with the Ai Behaviour trees ( im very new to UE im sorry for any stupid mistakes) Basically i tried making an Ai that wanders around (it works) but then i decided to add the “attack stat…

---

## [Questions about AI skill casting! plz help me](https://forums.unrealengine.com/t/questions-about-ai-skill-casting-plz-help-me/643583)

<div class="topic-metadata">

**Author:** [@YUHBE3](https://forums.unrealengine.com/u/YUHBE3)\
**Replies:** 2\
**Last updated:** [September 7, 2022, 11:43pm UTC](https://forums.unrealengine.com/t/questions-about-ai-skill-casting-plz-help-me/643583 "2022-09-07T23:43:13Z")

</div>

i have an AI that casts two skills. Right now those two skills are playing in a fixed order. How do I make it so AI casts two skills randomly? How do I make AI cast its skill to the ground that player is standing? …

---

## [AI Movement that follows Player Movement in](https://forums.unrealengine.com/t/ai-movement-that-follows-player-movement-in/643480)

<div class="topic-metadata">

**Author:** [@darkminer142](https://forums.unrealengine.com/u/darkminer142)\
**Replies:** 0\
**Last updated:** [September 7, 2022, 9:36am UTC](https://forums.unrealengine.com/t/ai-movement-that-follows-player-movement-in/643480 "2022-09-07T09:36:51Z")

</div>

Hi! I am currently developing a game. In Summary, the Player has to reach the moon, and is able to jump from obstacle to obstacle of different heights with a Charging Gauge Jump. Right now I am in charge of creating an…

---

## [AI character run anim not playing](https://forums.unrealengine.com/t/ai-character-run-anim-not-playing/642645)

<div class="topic-metadata">

**Author:** [@mawilbolou](https://forums.unrealengine.com/u/mawilbolou)\
**Replies:** 2\
**Last updated:** [September 7, 2022, 8:08am UTC](https://forums.unrealengine.com/t/ai-character-run-anim-not-playing/642645 "2022-09-07T08:08:04Z")

</div>

Hi. Using 4.26. I have an ai character that i made which works perfect,i Duplicated it in the content browser in order to work on new ai. I then, placed it in my level, and its run anim isnt playing as it moves. Im using…

---

## [Task node missing default options in details](https://forums.unrealengine.com/t/task-node-missing-default-options-in-details/642900)

<div class="topic-metadata">

**Author:** [@BO-DACIOUS](https://forums.unrealengine.com/u/BO-DACIOUS)\
**Replies:** 1\
**Last updated:** [September 6, 2022, 8:51pm UTC](https://forums.unrealengine.com/t/task-node-missing-default-options-in-details/642900 "2022-09-06T20:51:29Z")

</div>

Hi. I did what this tutorial sid and my task node is missing the bottom line if text and has no default section in the details. Can somebody please tell me what’s going on here. The pics are of my task BP and my task no…

---

## [Ai cant fall](https://forums.unrealengine.com/t/ai-cant-fall/642469)

<div class="topic-metadata">

**Author:** [@CrayzerHD](https://forums.unrealengine.com/u/CrayzerHD)\
**Replies:** 2\
**Last updated:** [September 6, 2022, 12:50pm UTC](https://forums.unrealengine.com/t/ai-cant-fall/642469 "2022-09-06T12:50:59Z")

</div>

Hello there, I want my Ai to be able to fall of but I cant get it Working even with a Nav Link Proxy. How can I add it that my character just falls of and dosen’t get blocked?

---

## [Ai Move to Location](https://forums.unrealengine.com/t/ai-move-to-location/642163)

<div class="topic-metadata">

**Author:** [@CrayzerHD](https://forums.unrealengine.com/u/CrayzerHD)\
**Replies:** 2\
**Last updated:** [September 6, 2022, 10:54am UTC](https://forums.unrealengine.com/t/ai-move-to-location/642163 "2022-09-06T10:54:23Z")

</div>

Hello there, So I want to make my Ai to run towards 1 location wherever I spawn it does anyone have an Idea on how to do that?

---

## [Issue with ai senses config](https://forums.unrealengine.com/t/issue-with-ai-senses-config/635796)

<div class="topic-metadata">

**Author:** [@ale20ako021](https://forums.unrealengine.com/u/ale20ako021)\
**Replies:** 31\
**Last updated:** [September 5, 2022, 6:58pm UTC](https://forums.unrealengine.com/t/issue-with-ai-senses-config/635796 "2022-09-05T18:58:42Z")

</div>

Hello, i have some problem with ai senses config, as you see in that png in array ai sight config must be under index 0 and ai hearing config under index 1, but in reality they are mixed up(sight is under index 1 and …

---

## [How to do neuroevolution in UE5](https://forums.unrealengine.com/t/how-to-do-neuroevolution-in-ue5/641370)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e1a0605b](https://forums.unrealengine.com/u/anonymous_user_e1a0605b)\
**Replies:** 0\
**Last updated:** [September 4, 2022, 9:02pm UTC](https://forums.unrealengine.com/t/how-to-do-neuroevolution-in-ue5/641370 "2022-09-04T21:02:06Z")

</div>

I was wondering if there would be a way to do neuroevolution in UE5 for a melee combat ai where I could let it run a simulation over and over again to improve the ai then when people actually play the game take that as a…

---

## [AI refuse to navigate steps despite having a valid nav mesh](https://forums.unrealengine.com/t/ai-refuse-to-navigate-steps-despite-having-a-valid-nav-mesh/639300)

<div class="topic-metadata">

**Author:** [@Krileon](https://forums.unrealengine.com/u/Krileon)\
**Replies:** 12\
**Last updated:** [September 4, 2022, 7:44pm UTC](https://forums.unrealengine.com/t/ai-refuse-to-navigate-steps-despite-having-a-valid-nav-mesh/639300 "2022-09-04T19:44:38Z")

</div>

I cannot understand why the AI refuse to properly navigate my steps. The angle is only like 25 degrees so it’s very much within step angle limits. The nav mesh also is drawing it as valid. Below is the nav mesh. Belo…

---

## [Why doesn't the decorator change its value in a subtree?](https://forums.unrealengine.com/t/why-doesnt-the-decorator-change-its-value-in-a-subtree/636052)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 1\
**Last updated:** [September 4, 2022, 10:40am UTC](https://forums.unrealengine.com/t/why-doesnt-the-decorator-change-its-value-in-a-subtree/636052 "2022-09-04T10:40:16Z")

</div>

I put some branches of my original behavior tree inside a subtree. And now I see that there is a decorator that does not change its value. (watch video). I don’t know why this happens (it’s my first subtree). I may be …

---

## [How to use alt+middle click to orbit?](https://forums.unrealengine.com/t/how-to-use-alt-middle-click-to-orbit/430593)

<div class="topic-metadata">

**Author:** [@fael097](https://forums.unrealengine.com/u/fael097)\
**Replies:** 3\
**Last updated:** [September 2, 2022, 1:57am UTC](https://forums.unrealengine.com/t/how-to-use-alt-middle-click-to-orbit/430593 "2022-09-02T01:57:06Z")

</div>

hey, I’m trying to set ue viewport to navigate like max, so inverting middle mouse pan worked, however I want to make orbit to be alt+middle click instead of alt+left click. how do I set it like so?

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

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