Chapter 6. How Does Our AI Sense?

In this chapter, you will learn how to use the different components available within Unreal Engine 4 to enable our AI to sense the other AI and pawns that we place within the world. We will do this by taking advantage of a system within Unreal Engine called AI Perception components. These components can be customized and even scripted to introduce new behavior by extending the current sensing interface.

The topics we will cover in this chapter are as follows:

  • AI components
  • Registering a perceivable actor using AIPerceptionStimuliSource
  • Perceiving objects using AI Perception
  • The state machine

Overview

AI Perception is a system within Unreal Engine 4 that allows sources to register their senses to create stimuli, and then ...

Get Unreal Engine 4 AI Programming Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.