© Sebastiano M. Cossu 2021
S. M. CossuBeginning Game AI with Unityhttps://doi.org/10.1007/978-1-4842-6355-6_4

4. Navigation

Sebastiano M. Cossu1  
(1)
LONDON, UK
 

In Chapter 2, we saw how to program the basic characteristics of a navigation agent, like steering and moving toward a goal, and in Chapter 3 we learned what a pathfinding algorithm is and how it works, and we implemented one using a waypoint system to represent the walkable area.

In this chapter, we are going to use what we learned in the previous chapters while we explore different ways to solve the navigation problem. The new methods I am going to cover in this chapter are more effective and efficient in complex scenarios. They were introduced when 3D environments in video games started ...

Get Beginning Game AI with Unity: Programming Artificial Intelligence with C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.