Navigation & AI

Navigation and AI is how enemies and companions move through a level on their own and decide what to do. Unity's AI Navigation package bakes a walkable surface (the navmesh) and moves agents along it around obstacles, so pathfinding is solved for you. What is left is the interesting part: sensing the player and picking a behavior, which a small state machine handles cleanly.

More in Gameplay Systems

  1. Input System
  2. Cameras & Cinemachine
  3. Scenes, Saving & Loading
  4. Navigation & AI

All 42 topics in the Learn Unity Roadmap