Summary
In this chapter, we explored some popular examples of crowd interaction systems used on popular video games and we saw how important is to plan every interaction that we can think of because this is what will turn a few simple lines of code into a realistic-looking game. To conclude the chapter, we revisited the advanced pathfinding system and we saw how multiple characters in the game can share the same final destination, taking an alternative path to avoid colliding, and waiting in line for other characters to move forward.
In the next chapter, we'll be looking at AI planning and decision making. We'll see how we can have AI anticipating things, knowing in advance what it will do when arriving at a certain position or facing a certain problem.