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:
- With PlayerSense open, let's add a new component called AIPerceptionStimuliSource. Then, under the Details tab, let's select Auto Register as Source.
- 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.
- Populate this array with the AISense_Sight blueprint in order ...
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.