Presenting the Unreal Engine AI system
Given the power of the previously described framework at your disposal, it should come as no surprise that Unreal Engine provides a comprehensive and robust AI system.
In this section, we will show the comprehensive array of tools available for Unreal Engine AI programmers along with a short description of their main features. To begin, let us examine the Navigation System and its functionality.
Navigation System
The Unreal Engine Navigation System allows for AI entities, called agents, to move on a level by using pathfinding algorithms.
The Navigation System will create a nav mesh derived from the geometry present within the level by using collisions. This mesh is subsequently divided into tiles, which are further partitioned into polygons, thereby forming a graph. Agents within the system use this graph to navigate toward their intended destinations. Polygons have a designated cost, which helps agents determine the most optimal path...