AI Sense

Let's start by bringing up Unreal Engine 4 and open our New Project window. Then, perform the following steps:

  1. First, name our new project AI Sense and hit create project.

    After it finishes loading, we want to start by creating a new AIController that will be responsible for sending our AI the appropriate instructions.

  2. Let's navigate to the Blueprint folder and create a new AIController class, naming it EnemyPatrol.
  3. Now, to assign EnemyPatrol, we need to place a pawn into the world then assign the controller to it.
  4. After placing the pawn, click on the Details tab within the editor. Next, we want to search for AI Controller. By default, it is the parent class AI Controller, but we want this to be EnemyPatrol:
  5. Next, we will create a new PlayerController ...

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.