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)

ANT-Op


Sometimes for your games, you might want to create crowd AIs that act in a very unique way, and instead of using an existing AI plugin, you might want to create a crowd AI from scratch. This would be done in the case of an ANT-Op AI. As we mentioned before, ant behavior is a popular topic in AI research and computer science in general. Initially, ants work independently and give off pheromones that are sensed by other ants to communicate messages. For example, when ants start searching for food, they give off pheromones as they search. When they find food, they give off different pheromones as they bring it back to the colony, which directs the next ants when searching for food. ANT-Op, by Gray Lake Studios, is available on Unity Asset Store for $75, and it simulates this ant food search process. Unlike the other AI plugins in this book, Ant-Op isn't really designed to be brought into an existing game; it's more of a technical demonstration that is a simulation you can use to see...