Book Image

Unity AI Programming Essentials

By : Curtis Bennett
Book Image

Unity AI Programming Essentials

By: Curtis Bennett

Overview of this book

Table of Contents (19 chapters)

Chapter 4. Crowd Chaos

Part of having a realistic game environment is having the nonplayer characters and NPCs act in a believable way. Crowd chaos is all about keeping NPCs busy to create crowded backgrounds for our games. Perhaps your game is set up in a mall, or a city, or any other place where lots of NPCs need to wander around and look like they are doing something. Crowds like these will be the subject of this chapter and the next.

In this chapter, you will learn about:

  • Working with crowd chaos

  • How to create crowd type characters in the React and RAIN AI packages

  • Expanding our knowledge of behavior trees