Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unity Artificial Intelligence Programming

You're reading from   Unity Artificial Intelligence Programming Add powerful, believable, and fun AI entities in your game with the power of Unity 2018!

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781789533910
Length 246 pages
Edition 4th Edition
Languages
Tools
Arrow right icon
Authors (3):
Arrow left icon
Dr. Davide Aversa Dr. Davide Aversa
Author Profile Icon Dr. Davide Aversa
Dr. Davide Aversa
Clifford Peters Clifford Peters
Author Profile Icon Clifford Peters
Clifford Peters
Aung Sithu Kyaw Aung Sithu Kyaw
Author Profile Icon Aung Sithu Kyaw
Aung Sithu Kyaw
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Introduction to AI FREE CHAPTER 2. Finite State Machines 3. Randomness and Probability 4. Implementing Sensors 5. Flocking 6. Path-Following and Steering Behaviors 7. A* Pathfinding 8. Navigation Mesh 9. Behavior Trees 10. Machine Learning in Unity 11. Putting It All Together 12. Other Books You May Enjoy

What this book covers

Chapter 1, Introduction to AI, talks about what AI is and how it is used in games. Also, we talk about the various techniques used to implement AI into games.

Chapter 2, Finite State Machines, discusses a way of simplifying how we manage the decisions that AI needs to make. We use FSMs to determine how AI behaves in a particular state and how it transitions to other states.

Chapter 3, Randomness and Probability, discusses the basics behind probability and how to change the probability of a particular outcome. Then we look at how to add randomness to our game to make the AI less predictable.

Chapter 4, Implementing Sensors, looks at making our character aware of the world around them. With the ability of our characters to see and hear, they will know when an enemy is nearby and will know when to attack or defend themselves.

Chapter 5, Flocking, discusses a situation where many objects travel together as a group. We will look at two different ways to implement flocking and how it can be used to make objects move together.

Chapter 6, Path Following and Steering Behaviors, looks at how AI characters can follow a path provided to reach a destination. Then we look at how AI characters can find a target without knowing a path and move toward a goal while avoiding danger.

Chapter 7, A* Pathfinding, discusses a popular algorithm that is used to find the best route from a given location to a target location. With A*, we scan the terrain and find the best path that leads us to the goal.

Chapter 8, Navigation Mesh, discusses using the power of Unity to make pathfinding easier to implement. By creating a navigation mesh, we will be able to represent the scene around us better than we could using tiles and the A* algorithm.

Chapter 9, Behavior Trees, expands FSMs into something we can use for even the most complex of games. We will be using the free plugin called Behavior Bricks to help us create and manage behavior trees in Unity.

Chapter 1o, Machine Learning, explores how to apply machine learning (in particular, reinforcement learning) to game characters for games or simulations. We will use the official Unity's ML-Agent Toolkit. In the first part, we will learn how to configure Unity and the external requirements for the toolkit. Then we will showcase a simple practical example.

Chapter 11, Putting It All Together, takes various elements of what we have learned throughout the book to put together one last project. Here you will be able to apply the remaining AI elements that we will have learned about and create an impressive vehicular battle game.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image