Open up Unreal Engine 4, and let's start a new Third Person template project. We want this so that we can use the Third Person pawn as one of our AI-controlled pawns. So, select the settings as in the following screenshot and hit Create Project:
Next, we want to create our new AIController, and this will be responsible for telling our pawn to move between two points. The plan is to introduce some obstacles to see the effect we can have on the pathing of our AI. Perform the following steps:
SoldierAI
. This AIController will be responsible for navigating the pawn provided by the starter content.SoldierAI
. What this will do is always spawn our pawn with our AIController: