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 2. Finite State Machines FREE CHAPTER 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

Implementing a BT in Unity with Behavior Bricks

Behavior Bricks is a powerful but free Behavior Trees implementation for Unity developed by the Complutense University of Madrid in Spain. Using Behavior Bricks, you can start using BTs in your projects without the need to implement BTs from scratch. It also has a visual editor where you can drop and connect nodes without any additional code.

Follow these steps to install Behavior Bricks:

  1. We need to go to the Unity Asset Store (Window | General | Asset Store or pressing Ctrl + 9 in Windows or Cmd + 9 on OSX).
  2. Search for Behavior Bricks.
  3. Download it and when that's done, we can import it in our project.

At this point, Behavior Bricks is ready to go and we can proceed with our demo.

The following steps will give you a brief idea of the steps to follow:

  1. Set up the scene.
  2. Implement a Day/Night cycle.
  3. Design the Enemy Behavior...
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