7.1. Path Following.

February 03, 2017

 

7.1.1. Main Reading.


• Unity AI Game Programming.
• Chapter 4: Finding Your Way. Following a Path.

Looks at how AI characters can follow a path provided to reach a destination. Then we look at how AI characters can find a target without knowing a path, and by moving towards a goal while avoiding.

    • The path script
    • Using the path follower
    • Avoiding obstacles
    • Adding a custom layer
    • Implementing the avoidance logic

7.1.2. Complementary Reading.


• Unity 5.x Game AI Programming Cookbook.
• Chapter 1: Behaviors – Intelligent Movement.

    • Wandering around
    • Following a path
    • Avoiding agents
    • Avoiding walls
    • Blending behaviors by weight
    • Blending behaviors by priority

7.1.3. Unity Documentation.


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