Intro

The AI navigation system in Unity allows NPCs to move intelligently through a game environment by calculating and following optimal paths and avoiding obstacles.

The navigation system allows you to create characters that can intelligently move around the game world. These characters use navigation meshes that are created automatically from your Scene geometry. Dynamic obstacles allow you to alter the navigation of the characters at runtime, while NavMesh links let you build specific actions like opening doors or jumping over gaps or down from a ledge. This section describes Unity’s navigation and pathfinding systems in detail