# AI perception to track player/random patrol

**URL:** <https://forums.unrealengine.com/t/ai-perception-to-track-player-random-patrol/362754>\
**Category:** AI\
**Tags:** ai-navigation, unreal-engine, question, Blueprint\
**Created:** [July 2, 2016, 6:40pm UTC](https://forums.unrealengine.com/t/ai-perception-to-track-player-random-patrol/362754 "2016-07-02T18:40:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![StillAlive039](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StillAlive039](https://forums.unrealengine.com/u/StillAlive039)\
**Post date:** [July 2, 2016, 6:40pm UTC](https://forums.unrealengine.com/t/ai-perception-to-track-player-random-patrol/362754/1 "2016-07-02T18:40:13Z")

</div>

I’m creating an AI System for tracking the player or randomly patrolling when the player is not in sight. I’m just experimenting on it. Is this a good way on using the AI perception or you guys know a much efficient way in using it.

 ![96940-aiperception.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/c/c7c825b265e4801f166b273eb993f8e280fd4fd4.jpeg)

 ![96941-aiperception1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/6/bd64270b89d45aeda8c60356ca6f594c491ec87e.png)

 ![96943-aiperception2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/0/260969877ae6ae34f7b9009ef0c61d2d5a08fdb2.jpeg)

Edited: Added picture.

---

<div class="post-metadata">

**Author:** ![SkeetonYu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkeetonYu](https://forums.unrealengine.com/u/SkeetonYu)\
**Post date:** [July 3, 2016, 6:00am UTC](https://forums.unrealengine.com/t/ai-perception-to-track-player-random-patrol/362754/2 "2016-07-03T06:00:49Z")

</div>

The most efficient way to create AI is using blackboard / eqs. It eliminates the need to cast which is a big thing when it comes down to optimizing. I understand it’s a whole new system to learn but if you are making a big game I recommend using blackboard as it’s better practice.

---

<div class="post-metadata">

**Author:** ![StillAlive039](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StillAlive039](https://forums.unrealengine.com/u/StillAlive039)\
**Post date:** [July 3, 2016, 10:56am UTC](https://forums.unrealengine.com/t/ai-perception-to-track-player-random-patrol/362754/3 "2016-07-03T10:56:22Z")

</div>

Thanks for the tip.

---

<div class="post-metadata">

**Author:** ![coolgam3y](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@coolgam3y](https://forums.unrealengine.com/u/coolgam3y)\
**Post date:** [July 19, 2016, 5:38pm UTC](https://forums.unrealengine.com/t/ai-perception-to-track-player-random-patrol/362754/4 "2016-07-19T17:38:40Z")

</div>

here’s an easier way to do this

 ![99098-help.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/c/4cc34e973139a511ff419746edd624f2ebadc52a.png)

---

<div class="post-metadata">

**Author:** ![StillAlive039](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StillAlive039](https://forums.unrealengine.com/u/StillAlive039)\
**Post date:** [July 20, 2016, 12:51am UTC](https://forums.unrealengine.com/t/ai-perception-to-track-player-random-patrol/362754/5 "2016-07-20T00:51:05Z")

</div>

Thanks for the answer I will look into it.
