Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Unity AI Programming Essentials
  • Table Of Contents Toc
Unity AI Programming Essentials

Unity AI Programming Essentials

By : Bennett
2.8 (8)
close
close
Unity AI Programming Essentials

Unity AI Programming Essentials

2.8 (8)
By: Bennett

Overview of this book

This book is aimed at developers who know the basics of game development with Unity and want to learn how to add AI to their games. You do not need any previous AI knowledge; this book will explain all the essential AI concepts and show you how to add and use them in your games.
Table of Contents (13 chapters)
close
close

An overview of crowd chaos


Crowd Chaos is all about giving separate interests to a large number of NPCs, so they look like they are living their own lives. In its lightest form, this can be something very simple, such as a whole bunch of NPCs picking random targets, walking to them, possibly sitting still for a moment, and then starting over. This stands out in real-time strategy games when buildings are constructed, and you see a construction worker walking to random points of the structure and waving their arms about.

Every game that needs crowd chaos will typically have a basic wandering base, and it can be extended as needed. Perhaps the crowd will form lines of more NPCs that are waiting at a spot. Perhaps the targets have changing values and AIs prefer higher values. They pick up a random block and put it somewhere else. The base wandering behavior needed for these and other crowd behaviors is what we will implement in both React and RAIN AI.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Unity AI Programming Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon