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 : Curtis Bennett
2.8 (8)
close
close
Unity AI Programming Essentials

Unity AI Programming Essentials

2.8 (8)
By: Curtis 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

The Fame Crowd Simulation API


The Fame Crowd Simulation API by TechBizXccelerator is available at Unity Asset Store under the name Crowd Simulator API for $45 at the time of writing this book. It allows you to create groups and customize steering behaviors. For our crowd demo, we will create a demo with many spaceships traveling in a group.

Setting up a scene with Fame

To create our demo, first create a new scene with a plane as the ground. Like most of the AI plugins in this book, Fame Crowd Simulation also supports Unity's built-in terrain system, but for this demo, a basic ground plane will be fine. Fame also uses a singleton pattern that has one class that manages everything for crowd management, so create an empty GameObject and call it Crowd Manager. Then, import Fame if it is not already in your project, and attach the FameManager script from Fame Assets/FameScripts/FameManager.cs to the Crowd Manager GameObject. This initial setup is shown in the following screenshot:

The following...

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