# AI

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

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

**Page:** 86

---

## [Pathfinding for Horizontal+Vertical Spline-Based Race Tracks](https://forums.unrealengine.com/t/pathfinding-for-horizontal-vertical-spline-based-race-tracks/437129)

<div class="topic-metadata">

**Author:** [@Singularius](https://forums.unrealengine.com/u/Singularius)\
**Replies:** 2\
**Last updated:** [December 19, 2018, 9:43am UTC](https://forums.unrealengine.com/t/pathfinding-for-horizontal-vertical-spline-based-race-tracks/437129 "2018-12-19T09:43:17Z")

</div>

Hello everyone. Sorry if it’s the question that has already been answered somewhere on the forum, but I really couldn’t find any more-or-less complete answer to this. So I’m working on Trackmania-style racing game, but…

---

## [Spawn AiEnemy won't work but other actors will](https://forums.unrealengine.com/t/spawn-aienemy-wont-work-but-other-actors-will/439765)

<div class="topic-metadata">

**Author:** [@flynneastwood](https://forums.unrealengine.com/u/flynneastwood)\
**Replies:** 0\
**Last updated:** [December 19, 2018, 2:33am UTC](https://forums.unrealengine.com/t/spawn-aienemy-wont-work-but-other-actors-will/439765 "2018-12-19T02:33:39Z")

</div>

Greetings! I am implementing a random spawn for enemies from an array of target points. I tried to spawn other blueprints and actors and it works fine but when I try the AiEnemy, nothing happens. Here’s the level blue…

---

## [Delay node never finishes after Finish Execute](https://forums.unrealengine.com/t/delay-node-never-finishes-after-finish-execute/439708)

<div class="topic-metadata">

**Author:** [@Darkarim](https://forums.unrealengine.com/u/Darkarim)\
**Replies:** 6\
**Last updated:** [December 18, 2018, 4:40pm UTC](https://forums.unrealengine.com/t/delay-node-never-finishes-after-finish-execute/439708 "2018-12-18T16:40:59Z")

</div>

Hello guys, i am experiencing this problem were calling a delay node after a finish execute node in an AI tree never finishes. I can see the Delay getting triggered in Debug mode but after waiting 3 seconds nothing h…

---

## [Ai implemented using behaviour tree is working in Editor but not working when it is packed](https://forums.unrealengine.com/t/ai-implemented-using-behaviour-tree-is-working-in-editor-but-not-working-when-it-is-packed/439699)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4627da8a](https://forums.unrealengine.com/u/anonymous_user_4627da8a)\
**Replies:** 0\
**Last updated:** [December 18, 2018, 2:40pm UTC](https://forums.unrealengine.com/t/ai-implemented-using-behaviour-tree-is-working-in-editor-but-not-working-when-it-is-packed/439699 "2018-12-18T14:40:21Z")

</div>

I’ve made very basic ai patrolling which moves to four predefined points . When tested in editor its working just fine but after packing the project AI is not moving at all.Also tried in 4.19,results are the same.IS the…

---

## [4.21 broken AI queries in built project (not editor)](https://forums.unrealengine.com/t/4-21-broken-ai-queries-in-built-project-not-editor/439653)

<div class="topic-metadata">

**Author:** [@eudrea](https://forums.unrealengine.com/u/eudrea)\
**Replies:** 1\
**Last updated:** [December 17, 2018, 11:35pm UTC](https://forums.unrealengine.com/t/4-21-broken-ai-queries-in-built-project-not-editor/439653 "2018-12-17T23:35:39Z")

</div>

After upgrading to 4.21 the AI stopped working correctly in built games (shipping/development configs, they both have the same behavior). It works fine when playing in editor. I know there are some issues with AI navmes…

---

## [Increasing AI character's strafe speed](https://forums.unrealengine.com/t/increasing-ai-characters-strafe-speed/338228)

<div class="topic-metadata">

**Author:** [@WereSalamander](https://forums.unrealengine.com/u/WereSalamander)\
**Replies:** 1\
**Last updated:** [December 17, 2018, 2:56am UTC](https://forums.unrealengine.com/t/increasing-ai-characters-strafe-speed/338228 "2018-12-17T02:56:05Z")

</div>

I have an AI character that is circle-strafing around the player. This I did it by setting its world rotation to constantly face the player, and then calling add movement input on its right vector. This happens every tic…

---

## [Cannot Set CrowdManagerClass in Project Settings](https://forums.unrealengine.com/t/cannot-set-crowdmanagerclass-in-project-settings/413747)

<div class="topic-metadata">

**Author:** [@joey.pla](https://forums.unrealengine.com/u/joey.pla)\
**Replies:** 4\
**Last updated:** [December 16, 2018, 10:08pm UTC](https://forums.unrealengine.com/t/cannot-set-crowdmanagerclass-in-project-settings/413747 "2018-12-16T22:08:20Z")

</div>

In 4.17, a CrowdManagerBase class was added that enabled users to create custom crowd managers, which could then be set in the project settings. After extending CrowdManagerBase and implementing my own custom crowd manag…

---

## [Big enums in behavior tree Is it fixed in 4.21?](https://forums.unrealengine.com/t/big-enums-in-behavior-tree-is-it-fixed-in-4-21/439310)

<div class="topic-metadata">

**Author:** [@corejake](https://forums.unrealengine.com/u/corejake)\
**Replies:** 2\
**Last updated:** [December 16, 2018, 12:40pm UTC](https://forums.unrealengine.com/t/big-enums-in-behavior-tree-is-it-fixed-in-4-21/439310 "2018-12-16T12:40:11Z")

</div>

I can’t scroll the list of enums in the behavior tree’s decorator “blackboard”, you can’t see the top- it’s under the window border and the bottom is flashing. Is it fixed already? My enum “AIEmotion” contains over 60 o…

---

## [AI not moving](https://forums.unrealengine.com/t/ai-not-moving/439573)

<div class="topic-metadata">

**Author:** [@Feng\_Meow](https://forums.unrealengine.com/u/Feng_Meow)\
**Replies:** 0\
**Last updated:** [December 15, 2018, 9:30pm UTC](https://forums.unrealengine.com/t/ai-not-moving/439573 "2018-12-15T21:30:47Z")

</div>

\[Album\] AI not moving I’ve been trying to create an AI that moves …

---

## [AI Perception - Custom Sight Strength In C++?](https://forums.unrealengine.com/t/ai-perception-custom-sight-strength-in-c/438736)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_edbe8833](https://forums.unrealengine.com/u/anonymous_user_edbe8833)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 1:50pm UTC](https://forums.unrealengine.com/t/ai-perception-custom-sight-strength-in-c/438736 "2018-12-14T13:50:47Z")

</div>

I’ve been researching this for days, anyone know how to allow for AI Perception’s Sight to use a custom value for Strength rather than just “1” using C++? Would I need to set up the AISightTargetInterface in any way, if …

---

## [How Can I Mark AI when using Scanning Vision?](https://forums.unrealengine.com/t/how-can-i-mark-ai-when-using-scanning-vision/431181)

<div class="topic-metadata">

**Author:** [@56legion](https://forums.unrealengine.com/u/56legion)\
**Replies:** 11\
**Last updated:** [December 13, 2018, 11:31pm UTC](https://forums.unrealengine.com/t/how-can-i-mark-ai-when-using-scanning-vision/431181 "2018-12-13T23:31:59Z")

</div>

Hi! As I mention in the question above. For example, assassin’s creed series. They have this eagle vision thing and then they mark the enemy with it. How I can mark the AIs like they did. It also turns red when the AI…

---

## [I'm having issues with AI Navigation in UE4](https://forums.unrealengine.com/t/im-having-issues-with-ai-navigation-in-ue4/439245)

<div class="topic-metadata">

**Author:** [@ReecesPiecesn1](https://forums.unrealengine.com/u/ReecesPiecesn1)\
**Replies:** 1\
**Last updated:** [December 11, 2018, 12:05am UTC](https://forums.unrealengine.com/t/im-having-issues-with-ai-navigation-in-ue4/439245 "2018-12-11T00:05:06Z")

</div>

I’m watching this video of AI navigation and then the video maker says that I need to put down “Get Random Point” and I have version 4.21 which doesn’t seem to have that, so now I’m trying to use the “Reachable Point In …

---

## [Navigation for Cars in a City](https://forums.unrealengine.com/t/navigation-for-cars-in-a-city/439251)

<div class="topic-metadata">

**Author:** [@MercJones](https://forums.unrealengine.com/u/MercJones)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 11:10pm UTC](https://forums.unrealengine.com/t/navigation-for-cars-in-a-city/439251 "2018-12-10T23:10:45Z")

</div>

How would/should one handle AI navigation for cars in a city situation so they don’t drive on sidewalks and such? I’m just curious about the basic level of keeping cars to streets not all the other logic of traffic stops…

---

## [I'm watching a video of how to set up AI navigation, and when the video maker said to put "OnSeePawn(PawnSensing1)'" I couldn't find it. They even showed where to find it, yet it is not there. Please Help](https://forums.unrealengine.com/t/im-watching-a-video-of-how-to-set-up-ai-navigation-and-when-the-video-maker-said-to-put-onseepawn-pawnsensing1-i-couldnt-find-it-they-even-showed-where-to-find-it-yet-it-is-not-there-please-help/439244)

<div class="topic-metadata">

**Author:** [@ReecesPiecesn1](https://forums.unrealengine.com/u/ReecesPiecesn1)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 9:16pm UTC](https://forums.unrealengine.com/t/im-watching-a-video-of-how-to-set-up-ai-navigation-and-when-the-video-maker-said-to-put-onseepawn-pawnsensing1-i-couldnt-find-it-they-even-showed-where-to-find-it-yet-it-is-not-there-please-help/439244 "2018-12-10T21:16:54Z")

</div>

Since this is required, I even checked the context sensitive on and off to see if it was on one of those.

---

## [How to call AI Controller function from Player Controller](https://forums.unrealengine.com/t/how-to-call-ai-controller-function-from-player-controller/439154)

<div class="topic-metadata">

**Author:** [@US\_Economy](https://forums.unrealengine.com/u/US_Economy)\
**Replies:** 1\
**Last updated:** [December 9, 2018, 1:39pm UTC](https://forums.unrealengine.com/t/how-to-call-ai-controller-function-from-player-controller/439154 "2018-12-09T13:39:17Z")

</div>

Right now I am using a Player Controller with my character to take in right-clicks for movement like a top-down game. After right-clicking on a certain spot, I need to use a Player Controller to get the Hit Result from …

---

## [EnvQueryTest not working?](https://forums.unrealengine.com/t/envquerytest-not-working/439048)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_21672ece1](https://forums.unrealengine.com/u/anonymous_user_21672ece1)\
**Replies:** 1\
**Last updated:** [December 8, 2018, 11:12am UTC](https://forums.unrealengine.com/t/envquerytest-not-working/439048 "2018-12-08T11:12:44Z")

</div>

I tried to create a custom test … however the test result is always false ?! UEnvQueryTest\_ValueIsSet.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinima…

---

## [Respawning a Child Actor from a Child Actor Component?](https://forums.unrealengine.com/t/respawning-a-child-actor-from-a-child-actor-component/439004)

<div class="topic-metadata">

**Author:** [@alvarofer0020](https://forums.unrealengine.com/u/alvarofer0020)\
**Replies:** 1\
**Last updated:** [December 7, 2018, 11:06pm UTC](https://forums.unrealengine.com/t/respawning-a-child-actor-from-a-child-actor-component/439004 "2018-12-07T23:06:12Z")

</div>

Hello Currently i have started to use child actor components on my AI Spawning System, so while on the editor users can customize the actor being previewed on the child actor ( mostly changing the parameters of AI Chara…

---

## [AI move to Actor with pathfinding](https://forums.unrealengine.com/t/ai-move-to-actor-with-pathfinding/432210)

<div class="topic-metadata">

**Author:** [@Bahamut1892](https://forums.unrealengine.com/u/Bahamut1892)\
**Replies:** 4\
**Last updated:** [December 6, 2018, 10:28pm UTC](https://forums.unrealengine.com/t/ai-move-to-actor-with-pathfinding/432210 "2018-12-06T22:28:37Z")

</div>

Hello everybody! I am developing a game with AI and I am creating the enemies. The first of them is easy: get close to the player and when you are near, attack. To do that i use the node Move To Actor, from AIController…

---

## [PerceptionComponent Sight issue](https://forums.unrealengine.com/t/perceptioncomponent-sight-issue/438914)

<div class="topic-metadata">

**Author:** [@Wakfull33](https://forums.unrealengine.com/u/Wakfull33)\
**Replies:** 1\
**Last updated:** [December 6, 2018, 10:30am UTC](https://forums.unrealengine.com/t/perceptioncomponent-sight-issue/438914 "2018-12-06T10:30:54Z")

</div>

I, I’m actually trying to create some AI in C++, i’m beginner so I don’t know all subtleties of UE C++ Programming. Well, I create a simple AI with PerceptionComponent, like this: PerceptionComp = CreateDefaultSubobje…

---

## [NPC Patrol/Pathfinding](https://forums.unrealengine.com/t/npc-patrol-pathfinding/438934)

<div class="topic-metadata">

**Author:** [@Angel1000](https://forums.unrealengine.com/u/Angel1000)\
**Replies:** 0\
**Last updated:** [December 5, 2018, 8:21pm UTC](https://forums.unrealengine.com/t/npc-patrol-pathfinding/438934 "2018-12-05T20:21:20Z")

</div>

Hi, thanks for any help. I’m attempting to get a patrol/pathfining system working in my game (city builder). The way it needs to work is after the NPC spawns it moves along a road (actors) until is has reached a set dis…

---

## [How to force UBTService tick by Interval = 1.f; with RandomDeviation = 0.1f; Like BP version tick by default?](https://forums.unrealengine.com/t/how-to-force-ubtservice-tick-by-interval-1-f-with-randomdeviation-0-1f-like-bp-version-tick-by-default/438933)

<div class="topic-metadata">

**Author:** [@NoCodeBugsFree](https://forums.unrealengine.com/u/NoCodeBugsFree)\
**Replies:** 0\
**Last updated:** [December 5, 2018, 6:34pm UTC](https://forums.unrealengine.com/t/how-to-force-ubtservice-tick-by-interval-1-f-with-randomdeviation-0-1f-like-bp-version-tick-by-default/438933 "2018-12-05T18:34:12Z")

</div>

How to force UBTService tick by Interval = 1.f; with RandomDeviation = 0.1f; Like BP version tick by default? P.S. And only by this interval.

---

## [Navmesh level streaming ai](https://forums.unrealengine.com/t/navmesh-level-streaming-ai/438806)

<div class="topic-metadata">

**Author:** [@DR4QU3](https://forums.unrealengine.com/u/DR4QU3)\
**Replies:** 0\
**Last updated:** [December 4, 2018, 1:21am UTC](https://forums.unrealengine.com/t/navmesh-level-streaming-ai/438806 "2018-12-04T01:21:03Z")

</div>

for our final project we are making an infinite dungeon crawl hack and slash fighter. at the moment we are using level streaming with entry and exit anchors to tie together hallways and rooms. for the rooms we have ene…

---

## [GetAllActorsOfClass not filling OutActor Array](https://forums.unrealengine.com/t/getallactorsofclass-not-filling-outactor-array/433408)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bb1b6aa21](https://forums.unrealengine.com/u/anonymous_user_bb1b6aa21)\
**Replies:** 4\
**Last updated:** [December 1, 2018, 11:12pm UTC](https://forums.unrealengine.com/t/getallactorsofclass-not-filling-outactor-array/433408 "2018-12-01T23:12:08Z")

</div>

Hello all, So I’m working on a very simple AiController to setup some AI patrolling, and am running into a problem. I have both the subclass and TArray of Actor class declared in the header, mainly so that I can use th…

---

## [Two AI and one door to the labyrinth. How to solve who should enter?](https://forums.unrealengine.com/t/two-ai-and-one-door-to-the-labyrinth-how-to-solve-who-should-enter/429561)

<div class="topic-metadata">

**Author:** [@dremming](https://forums.unrealengine.com/u/dremming)\
**Replies:** 5\
**Last updated:** [December 1, 2018, 4:26pm UTC](https://forums.unrealengine.com/t/two-ai-and-one-door-to-the-labyrinth-how-to-solve-who-should-enter/429561 "2018-12-01T16:26:02Z")

</div>

Hi there. I have labyrinth with 1 enter. The problem is when i enter to the labyrinth, 2 AI cover me. If they are on same location from me, then they resort simultaneously to the enter of the labyrinth. After that UE 4.1…

---

## [How do you use RVO avoidance?](https://forums.unrealengine.com/t/how-do-you-use-rvo-avoidance/434089)

<div class="topic-metadata">

**Author:** [@ViceVersa](https://forums.unrealengine.com/u/ViceVersa)\
**Replies:** 2\
**Last updated:** [December 1, 2018, 9:41am UTC](https://forums.unrealengine.com/t/how-do-you-use-rvo-avoidance/434089 "2018-12-01T09:41:32Z")

</div>

the description on epics website doesnt really seem to go into much detail of it at all, Also the game Im using is being made in blueprints. Is it possible to use this feature with blueprints or does it need to be in C+…

---

## [How to move my AI character to Player location by useing Rootmotion in AnimBP?](https://forums.unrealengine.com/t/how-to-move-my-ai-character-to-player-location-by-useing-rootmotion-in-animbp/438491)

<div class="topic-metadata">

**Author:** [@windlox](https://forums.unrealengine.com/u/windlox)\
**Replies:** 1\
**Last updated:** [December 1, 2018, 4:44am UTC](https://forums.unrealengine.com/t/how-to-move-my-ai-character-to-player-location-by-useing-rootmotion-in-animbp/438491 "2018-12-01T04:44:51Z")

</div>

How to move my AI character to Player location by useing Rootmotion in AnimBP? I dont want to ues “Move to” in logic tree because I want my AI character move naturaly as in rootmotion animation. This problem confuse me …

---

## [How do I make my NPC move?](https://forums.unrealengine.com/t/how-do-i-make-my-npc-move/398149)

<div class="topic-metadata">

**Author:** [@Krilium](https://forums.unrealengine.com/u/Krilium)\
**Replies:** 3\
**Last updated:** [November 29, 2018, 4:14pm UTC](https://forums.unrealengine.com/t/how-do-i-make-my-npc-move/398149 "2018-11-29T16:14:47Z")

</div>

I have a pawn BP set up with a floating character. There are no movement animations, only an animation that loops no matter what the speed of the character is (basically an idle floating animation). I have set up NPC mov…

---

## [Traffic simulation AI in UE4](https://forums.unrealengine.com/t/traffic-simulation-ai-in-ue4/405528)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_751e57f01](https://forums.unrealengine.com/u/anonymous_user_751e57f01)\
**Replies:** 3\
**Last updated:** [November 29, 2018, 8:27am UTC](https://forums.unrealengine.com/t/traffic-simulation-ai-in-ue4/405528 "2018-11-29T08:27:04Z")

</div>

hello, I’m currently working on a traffic simulation AI in unreal4 for uni. My mentor advised me to look into different ways to accomplish large-scale AI for traffic flow in cities. I’m having a fairly hard time findi…

---

## [How to make AI Perception prefer one character over the other when both perceived](https://forums.unrealengine.com/t/how-to-make-ai-perception-prefer-one-character-over-the-other-when-both-perceived/438498)

<div class="topic-metadata">

**Author:** [@eightball126](https://forums.unrealengine.com/u/eightball126)\
**Replies:** 0\
**Last updated:** [November 28, 2018, 8:54pm UTC](https://forums.unrealengine.com/t/how-to-make-ai-perception-prefer-one-character-over-the-other-when-both-perceived/438498 "2018-11-28T20:54:47Z")

</div>

This is my AI controller: This was setup when I only had one character to be sensed by the AI. I have two characters now that the AI can sense and attack. However, when both characters are being perceived at the same…

---

## [\[Help\]Ai MoveTo Node Always returning fail](https://forums.unrealengine.com/t/help-ai-moveto-node-always-returning-fail/438315)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fdb8ae61](https://forums.unrealengine.com/u/anonymous_user_fdb8ae61)\
**Replies:** 1\
**Last updated:** [November 28, 2018, 4:12am UTC](https://forums.unrealengine.com/t/help-ai-moveto-node-always-returning-fail/438315 "2018-11-28T04:12:09Z")

</div>

The AI MoveTo No de is always returning a fail, even if i try using destination instead of target actor.

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

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