Flocks and Crowds

Flocks and crowds are two additional core AI concepts we'll be exploring in this book. As you'll see in this chapter, flocks are relatively simple to implement, and they add a fairly extraordinary amount of realism to your simulation in just a few lines of code. Crowds can be a bit more complex, but we'll be exploring some of the powerful tools that come bundled with Unity to get the job done. In this chapter, we'll cover the following topics:

  • Learning the history of flocks and herds
  • Understanding the concepts behind flocks
  • Flocking using the traditional algorithm
  • Using realistic crowds

Get Unity 2017 Game AI Programming - Third Edition 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.