O'Reilly logo

Unreal Engine 4 AI Programming Essentials by Jie Feng, Peter L. Newton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AI Perception components

There are two components that are currently available. The first one is what you're already familiar with: the AI Perception component. The other is the AIPerceptionStimuliSource component. The latter is used to easily register the pawn as a source of stimuli, allowing it to be detected by other AI Perception components. This comes in handy, particularly in our case. Now, follow these steps:

  1. With PlayerSense open, let's add a new component called AIPerceptionStimuliSource. Then, under the Details tab, let's select Auto Register as Source.
  2. Next, we want to add new senses to create a source for. So, looking at Register as Source for Senses, there is an AISense array.
  3. Populate this array with the AISense_Sight blueprint in order ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required