# AI

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

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

**Page:** 67

---

## [追跡用のaiキャラクターが動かない](https://forums.unrealengine.com/t/ai/469411)

<div class="topic-metadata">

**Author:** [@you\_tam](https://forums.unrealengine.com/u/you_tam)\
**Replies:** 4\
**Last updated:** [August 12, 2020, 8:12am UTC](https://forums.unrealengine.com/t/ai/469411 "2020-08-12T08:12:43Z")

</div>

こんにちは。Unreal Engine初心者です 敵AIとして作成しているキャラクターが動かず困っています レベルに Nav Mesh Bounds Volume は配置済みです UE4で敵キャラクターAIを制御する | Binto-Laboratory こちらを参考にし作成したAiと \[UE4\] ランダムに移動するキャラクターを簡単に実装する方法｜株式会社ヒストリア こちらを参考にし作成したAIと 作れる！学べる！Unrea…

---

## [How to allow character rotation only in movement for AI?](https://forums.unrealengine.com/t/how-to-allow-character-rotation-only-in-movement-for-ai/469601)

<div class="topic-metadata">

**Author:** [@bogdanspbm](https://forums.unrealengine.com/u/bogdanspbm)\
**Replies:** 0\
**Last updated:** [August 11, 2020, 7:54pm UTC](https://forums.unrealengine.com/t/how-to-allow-character-rotation-only-in-movement-for-ai/469601 "2020-08-11T19:54:41Z")

</div>

I have Character AI, and I am need to allow their rotation only when their speed is \> 0 (for example 100). Roughly speaking I need the settings of the vehicle class from UE Template in the character class. Car can’t rora…

---

## [UAIPerceptionComponent added in AIController via C++ won't allow me to add senses](https://forums.unrealengine.com/t/uaiperceptioncomponent-added-in-aicontroller-via-c-wont-allow-me-to-add-senses/468928)

<div class="topic-metadata">

**Author:** [@odinn1984](https://forums.unrealengine.com/u/odinn1984)\
**Replies:** 5\
**Last updated:** [August 8, 2020, 10:07pm UTC](https://forums.unrealengine.com/t/uaiperceptioncomponent-added-in-aicontroller-via-c-wont-allow-me-to-add-senses/468928 "2020-08-08T22:07:01Z")

</div>

Hi folks, I have an issue where I’m adding an UAIPerceptionComponent (code will come soon) to my AIController… I created a BP from it and I see it as inherited as expected… But… When I want to add senses it won’t let m…

---

## [MoveToLocation- Navigation AI not moves pawn](https://forums.unrealengine.com/t/movetolocation-navigation-ai-not-moves-pawn/469421)

<div class="topic-metadata">

**Author:** [@Astromanson](https://forums.unrealengine.com/u/Astromanson)\
**Replies:** 0\
**Last updated:** [August 8, 2020, 8:43pm UTC](https://forums.unrealengine.com/t/movetolocation-navigation-ai-not-moves-pawn/469421 "2020-08-08T20:43:22Z")

</div>

Hello, I’ve got an AiController attached to pawn- it should follow player. But MoveToLocation doesn’t move an enemy to the player- I’ve debugged it, so debug always printsn EPathFollowingRequestResult::RequestSuccessful …

---

## [Make character move randomly using AI](https://forums.unrealengine.com/t/make-character-move-randomly-using-ai/469208)

<div class="topic-metadata">

**Author:** [@donkeykongy323](https://forums.unrealengine.com/u/donkeykongy323)\
**Replies:** 3\
**Last updated:** [August 5, 2020, 2:16pm UTC](https://forums.unrealengine.com/t/make-character-move-randomly-using-ai/469208 "2020-08-05T14:16:41Z")

</div>

I am trying to make a character move around the level randomly and realistically using AI but not sure how to do so. I DONT want the AI to just follow the main character like it is in many of the tutorial videos.

---

## [Making a character move in a straight line back and forth using AI controller](https://forums.unrealengine.com/t/making-a-character-move-in-a-straight-line-back-and-forth-using-ai-controller/468911)

<div class="topic-metadata">

**Author:** [@donkeykongy323](https://forums.unrealengine.com/u/donkeykongy323)\
**Replies:** 6\
**Last updated:** [August 4, 2020, 6:30pm UTC](https://forums.unrealengine.com/t/making-a-character-move-in-a-straight-line-back-and-forth-using-ai-controller/468911 "2020-08-04T18:30:26Z")

</div>

I am trying to make a character move in a level back and forth in a straight line using the AI controller. I have added a nav mesh volume that shows which area the person is allowed to walk in but rn, it’s very random an…

---

## [How to see/modify the actors' indexes?](https://forums.unrealengine.com/t/how-to-see-modify-the-actors-indexes/468936)

<div class="topic-metadata">

**Author:** [@UraniumBonBeurre](https://forums.unrealengine.com/u/UraniumBonBeurre)\
**Replies:** 5\
**Last updated:** [August 3, 2020, 7:20am UTC](https://forums.unrealengine.com/t/how-to-see-modify-the-actors-indexes/468936 "2020-08-03T07:20:16Z")

</div>

Hello! I have a problem. I was using “empty” actors to turn them into Spawn Points for my AI. Indeed, at the beginning of the level, I defined in Arrays the index of the Spawn Point in which my AI should appear, but also…

---

## [How do make an AI runaway when it is hurt by the player?](https://forums.unrealengine.com/t/how-do-make-an-ai-runaway-when-it-is-hurt-by-the-player/469087)

<div class="topic-metadata">

**Author:** [@AnarHaneul](https://forums.unrealengine.com/u/AnarHaneul)\
**Replies:** 0\
**Last updated:** [August 3, 2020, 1:13am UTC](https://forums.unrealengine.com/t/how-do-make-an-ai-runaway-when-it-is-hurt-by-the-player/469087 "2020-08-03T01:13:06Z")

</div>

I want to make an AI run away when it’s hurt by the player and wait some time and then come back to the player using the behavior tree? How do I do that?

---

## [Last seen location task not firing help](https://forums.unrealengine.com/t/last-seen-location-task-not-firing-help/469027)

<div class="topic-metadata">

**Author:** [@Moldy\_Jammers](https://forums.unrealengine.com/u/Moldy_Jammers)\
**Replies:** 0\
**Last updated:** [August 1, 2020, 8:25pm UTC](https://forums.unrealengine.com/t/last-seen-location-task-not-firing-help/469027 "2020-08-01T20:25:14Z")

</div>

need help with behavior tree not firing a task which if the ai loses sight go to last seen location not firing

---

## [AI controllers inactive if server player isnt near them](https://forums.unrealengine.com/t/ai-controllers-inactive-if-server-player-isnt-near-them/469034)

<div class="topic-metadata">

**Author:** [@CatBit\_Thorium](https://forums.unrealengine.com/u/CatBit_Thorium)\
**Replies:** 0\
**Last updated:** [August 1, 2020, 12:29pm UTC](https://forums.unrealengine.com/t/ai-controllers-inactive-if-server-player-isnt-near-them/469034 "2020-08-01T12:29:10Z")

</div>

Since version 4.25.2 we got the problem that AI controllers for enemies are only active if the server player is very near them. About half the screen. If a client player walks by the enemies they are dormant. Logic from …

---

## [Blackboard GetValueAsObject Returning NULL](https://forums.unrealengine.com/t/blackboard-getvalueasobject-returning-null/468845)

<div class="topic-metadata">

**Author:** [@FinalRockstar](https://forums.unrealengine.com/u/FinalRockstar)\
**Replies:** 2\
**Last updated:** [August 1, 2020, 6:22am UTC](https://forums.unrealengine.com/t/blackboard-getvalueasobject-returning-null/468845 "2020-08-01T06:22:27Z")

</div>

Hi I am having a trouble while using the blackboard for a task. The AI stops performing the desired task after sometime. But Before that I will share the project details irrelevant code has been omitted I have made Ac…

---

## [How to make AI targetLocation of another AI?](https://forums.unrealengine.com/t/how-to-make-ai-targetlocation-of-another-ai/468292)

<div class="topic-metadata">

**Author:** [@Jazz904](https://forums.unrealengine.com/u/Jazz904)\
**Replies:** 16\
**Last updated:** [August 1, 2020, 4:26am UTC](https://forums.unrealengine.com/t/how-to-make-ai-targetlocation-of-another-ai/468292 "2020-08-01T04:26:46Z")

</div>

I have an AI charter that follows and attacks the main player. I made a completely new character that is the friendly AI. I want the friendly AI to follow the AI. Inside the blueprint tree and BB I set everything up the…

---

## [\[4.11\] C++ Behaviour tree not running](https://forums.unrealengine.com/t/4-11-c-behaviour-tree-not-running/354687)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b068f3ee](https://forums.unrealengine.com/u/anonymous_user_b068f3ee)\
**Replies:** 5\
**Last updated:** [July 31, 2020, 6:15pm UTC](https://forums.unrealengine.com/t/4-11-c-behaviour-tree-not-running/354687 "2020-07-31T18:15:20Z")

</div>

Hi guys, I’m working with a behavior tree in UE4 4.10 (C++ and Blueprint) and my behavior tree was working fine but since I switch to 4.11 my behavior tree isn’t doing anything. At least the first Blueprint Service not …

---

## [Detour crowd cause character stuck on landscape](https://forums.unrealengine.com/t/detour-crowd-cause-character-stuck-on-landscape/467146)

<div class="topic-metadata">

**Author:** [@WFredC](https://forums.unrealengine.com/u/WFredC)\
**Replies:** 2\
**Last updated:** [July 31, 2020, 10:58am UTC](https://forums.unrealengine.com/t/detour-crowd-cause-character-stuck-on-landscape/467146 "2020-07-31T10:58:35Z")

</div>

My character cannot move normally on the complex landscape when the AI controller is inherited from DetourCrowdAIController here is a video to show the issue: Crowd AI lagging on lanscape - YouTube if inherited from AI…

---

## [Open world optimisation](https://forums.unrealengine.com/t/open-world-optimisation/468653)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b935d111](https://forums.unrealengine.com/u/anonymous_user_b935d111)\
**Replies:** 1\
**Last updated:** [July 25, 2020, 10:59am UTC](https://forums.unrealengine.com/t/open-world-optimisation/468653 "2020-07-25T10:59:16Z")

</div>

At the expense of “World composition” I created a huge world, placed NPC spawners, but because of their number, the FPS drops. How can I hide objects that are far away from the player? Rather, not just hide it, but impro…

---

## [How do i fix camera and gun getting stuck on objects?](https://forums.unrealengine.com/t/how-do-i-fix-camera-and-gun-getting-stuck-on-objects/468469)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_330de4e9](https://forums.unrealengine.com/u/anonymous_user_330de4e9)\
**Replies:** 1\
**Last updated:** [July 22, 2020, 9:49pm UTC](https://forums.unrealengine.com/t/how-do-i-fix-camera-and-gun-getting-stuck-on-objects/468469 "2020-07-22T21:49:36Z")

</div>

I need some help, in the video below, i aim at the tree in front of me, although it looks like im barely moving my mouse really im moving mouse down/up a lot. my mouse sort of gets locked up and can only move left and ri…

---

## [Reference value in EQS Score](https://forums.unrealengine.com/t/reference-value-in-eqs-score/468435)

<div class="topic-metadata">

**Author:** [@Chopin\_7up](https://forums.unrealengine.com/u/Chopin_7up)\
**Replies:** 1\
**Last updated:** [July 21, 2020, 4:25am UTC](https://forums.unrealengine.com/t/reference-value-in-eqs-score/468435 "2020-07-21T04:25:50Z")

</div>

In the Document: EQS Node Reference: Tests | Unreal Engine Documentation It shows " the closer a value is to Reference Value, the higher normalized result it will produce" a valuAbout the meaning of “Reference Value” in…

---

## [AI enemy not moving when game loaded on android](https://forums.unrealengine.com/t/ai-enemy-not-moving-when-game-loaded-on-android/466437)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_df32ffe4](https://forums.unrealengine.com/u/anonymous_user_df32ffe4)\
**Replies:** 3\
**Last updated:** [July 17, 2020, 7:20am UTC](https://forums.unrealengine.com/t/ai-enemy-not-moving-when-game-loaded-on-android/466437 "2020-07-17T07:20:52Z")

</div>

I have a very simple pawn enemy connected to AI class (see below). In editor and PIE it works no problem but when running on an android device with development configuration it doesn’t move even though everything else wo…

---

## [Does anybody know how to fix this NavBound problems?](https://forums.unrealengine.com/t/does-anybody-know-how-to-fix-this-navbound-problems/468237)

<div class="topic-metadata">

**Author:** [@Mr\_Survival](https://forums.unrealengine.com/u/Mr_Survival)\
**Replies:** 1\
**Last updated:** [July 16, 2020, 10:27am UTC](https://forums.unrealengine.com/t/does-anybody-know-how-to-fix-this-navbound-problems/468237 "2020-07-16T10:27:27Z")

</div>

My AI cant walk along this street because of this tiny holes.

---

## [How do I get my AI out of the way of my player?](https://forums.unrealengine.com/t/how-do-i-get-my-ai-out-of-the-way-of-my-player/468104)

<div class="topic-metadata">

**Author:** [@UraniumBonBeurre](https://forums.unrealengine.com/u/UraniumBonBeurre)\
**Replies:** 5\
**Last updated:** [July 14, 2020, 12:27pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-ai-out-of-the-way-of-my-player/468104 "2020-07-14T12:27:51Z")

</div>

Please help! I searched on the Internet to manage to make my following AI aware of when I collide with it, it moves on the opposite direction from the player’s one. I tried things like Launch Character, AddActorWorldOffs…

---

## [Cost of EQS vs Get All Actors of Class node](https://forums.unrealengine.com/t/cost-of-eqs-vs-get-all-actors-of-class-node/468126)

<div class="topic-metadata">

**Author:** [@Niaphim](https://forums.unrealengine.com/u/Niaphim)\
**Replies:** 1\
**Last updated:** [July 14, 2020, 7:48am UTC](https://forums.unrealengine.com/t/cost-of-eqs-vs-get-all-actors-of-class-node/468126 "2020-07-14T07:48:04Z")

</div>

In terms of optimization, which is better? I want my AI to know what other AI are in close proximity, so I have 2 choices: 1)Run a EQS service to get all actors in range. 2)Get a list of all actors and then loop throu…

---

## [Moving NavMesh Volume](https://forums.unrealengine.com/t/moving-navmesh-volume/338023)

<div class="topic-metadata">

**Author:** [@Daltron](https://forums.unrealengine.com/u/Daltron)\
**Replies:** 5\
**Last updated:** [July 12, 2020, 11:10am UTC](https://forums.unrealengine.com/t/moving-navmesh-volume/338023 "2020-07-12T11:10:38Z")

</div>

It looks like a few people have struggled with this. The last answer / set of comments on this page might help: \[4.7\] Navmesh doesn't build at runtime (It is checked) - World Creation - Unreal Engine Forums

---

## [How does ProjectPointToNavigation work?](https://forums.unrealengine.com/t/how-does-projectpointtonavigation-work/467896)

<div class="topic-metadata">

**Author:** [@Psy-Lance](https://forums.unrealengine.com/u/Psy-Lance)\
**Replies:** 0\
**Last updated:** [July 9, 2020, 6:46am UTC](https://forums.unrealengine.com/t/how-does-projectpointtonavigation-work/467896 "2020-07-09T06:46:06Z")

</div>

I want to check if the group ai who is following me in a formation can move to their respective locations which some can’t do sometimes because I am walking on a ramp at which point I want them to follow my location. Th…

---

## [Help! Some values of "Agent Radius" immobilize my character!](https://forums.unrealengine.com/t/help-some-values-of-agent-radius-immobilize-my-character/467816)

<div class="topic-metadata">

**Author:** [@UraniumBonBeurre](https://forums.unrealengine.com/u/UraniumBonBeurre)\
**Replies:** 0\
**Last updated:** [July 7, 2020, 10:12pm UTC](https://forums.unrealengine.com/t/help-some-values-of-agent-radius-immobilize-my-character/467816 "2020-07-07T22:12:56Z")

</div>

My AI works with Nav Mesh Bounds Volume. As it has to walk in a house (small space), the Nav Mesh Bounds Volume must be precise. So I decided to decrease the value of Agent Radius, so that my AI can have the greatest pos…

---

## [AI keep sticking when walking into other AI](https://forums.unrealengine.com/t/ai-keep-sticking-when-walking-into-other-ai/467778)

<div class="topic-metadata">

**Author:** [@EdBennett](https://forums.unrealengine.com/u/EdBennett)\
**Replies:** 0\
**Last updated:** [July 7, 2020, 8:52am UTC](https://forums.unrealengine.com/t/ai-keep-sticking-when-walking-into-other-ai/467778 "2020-07-07T08:52:59Z")

</div>

Hi I’m trying to create a relatively realistic group of AI moving. Sort of mimicking a real world public place. I do have one problem though. The AI get stuck when it hits another AI. So what seem to happen is I tell t…

---

## [I'm new to ue4 and am trying to make an AI roam](https://forums.unrealengine.com/t/im-new-to-ue4-and-am-trying-to-make-an-ai-roam/467611)

<div class="topic-metadata">

**Author:** [@Jmwill995](https://forums.unrealengine.com/u/Jmwill995)\
**Replies:** 2\
**Last updated:** [July 6, 2020, 5:59pm UTC](https://forums.unrealengine.com/t/im-new-to-ue4-and-am-trying-to-make-an-ai-roam/467611 "2020-07-06T17:59:19Z")

</div>

Hi I’m trying to make an AI roam. I want the fox in this case to rotate toward a random point, walk to it, and then pause briefly before looping. Right now it moves to the random location, but just snaps in the direction…

---

## [Planet Navmesh For AI](https://forums.unrealengine.com/t/planet-navmesh-for-ai/467626)

<div class="topic-metadata">

**Author:** [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Replies:** 0\
**Last updated:** [July 3, 2020, 10:59pm UTC](https://forums.unrealengine.com/t/planet-navmesh-for-ai/467626 "2020-07-03T22:59:36Z")

</div>

Just curious if anyone has come across a solution for generating a navmesh on a spherical world. I know that UE4 can generate navmeshes dynamically during runtime for large worlds, why couldn’t it generate them based on …

---

## [AI Controller can it be used to run more than one AI Task](https://forums.unrealengine.com/t/ai-controller-can-it-be-used-to-run-more-than-one-ai-task/467585)

<div class="topic-metadata">

**Author:** [@gamebro2222](https://forums.unrealengine.com/u/gamebro2222)\
**Replies:** 0\
**Last updated:** [July 3, 2020, 3:06am UTC](https://forums.unrealengine.com/t/ai-controller-can-it-be-used-to-run-more-than-one-ai-task/467585 "2020-07-03T03:06:06Z")

</div>

The AIController can it be used to have an AI run multiple tasks or layered/stacked tasks? I’m used to creating layered tasks in state machines in none UE4 AI systems. Example Task\_AttackTarget could have a state m…

---

## [Spacing enemies while using DetourCrowdAIController](https://forums.unrealengine.com/t/spacing-enemies-while-using-detourcrowdaicontroller/467490)

<div class="topic-metadata">

**Author:** [@Avengar](https://forums.unrealengine.com/u/Avengar)\
**Replies:** 0\
**Last updated:** [July 1, 2020, 6:30am UTC](https://forums.unrealengine.com/t/spacing-enemies-while-using-detourcrowdaicontroller/467490 "2020-07-01T06:30:03Z")

</div>

Hello there! I’ve started some experiments with DetourCrowdAIController. After some research and testing I am almost happy with results except for one thing. Enemies are pileing too much and then spreading around. …

---

## [Ai move to acting weird depending on location](https://forums.unrealengine.com/t/ai-move-to-acting-weird-depending-on-location/467456)

<div class="topic-metadata">

**Author:** [@minirlz](https://forums.unrealengine.com/u/minirlz)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 1:26am UTC](https://forums.unrealengine.com/t/ai-move-to-acting-weird-depending-on-location/467456 "2020-07-01T01:26:55Z")

</div>

Howdy, I have 3 actors. All of which share the same parent. Player cell, cell 1, cell 2. I have it set up that when cell X comes into the vision cone of cell 1, cell 1 will move (using AI move to) to cell Xs position l…

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

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