This is the code repository for Unity Artificial Intelligence Programming - Fifth Edition, published by Packt.
Add powerful, believable, and fun AI entities in your game with the power of Unity
Developing artificial intelligence (AI) for game characters in Unity 2021 has never been easier. Unity provides game and app developers with a variety of tools to implement AI, from basic techniques to cutting-edge machine learning-powered agents. Leveraging these tools via Unity's API or built-in features allows limitless possibilities when it comes to creating game worlds and characters.
This book covers the following exciting features:
- Understand the basics of AI in game design
- Create smarter game worlds and characters with C# programming
- Apply automated character movement using pathfinding algorithm behaviors
- Implement character decision-making algorithms using behavior trees
- Build believable and highly efficient artificial flocks and crowds
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
void OnCollisionEnter(Collision collision)
{
ContactPoint contact = collision.contacts[0];
Instantiate(explosion, contact.point, Quaternion.identity);
Destroy(gameObject);
}
Following is what you need for this book: This Unity artificial intelligence book is for Unity developers with a basic understanding of C# and the Unity Editor who want to expand their knowledge of AI Unity game development.
With the following software and hardware list you can run all code files present in the book (Chapter 1-12).
Chapter | Software required | OS required |
---|---|---|
1-12 | Unity3d 2022 | Windows, Mac OS X, and Linux (Any) |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
-
Learning C# by Developing Games with Unity 2021 – Sixth Edition [Packt] [Amazon]
-
Hands-On Unity 2021 Game Development – Second Edition [Packt] [Amazon]
Dr. Davide Aversa holds a Ph.D. in artificial intelligence and an MSc in artificial intelligence and robotics from the University of Rome La Sapienza in Italy. He has a strong interest in artificial intelligence for the development of interactive virtual agents and procedural content generation. He served as a Program Committee member of video game-related conferences such as the IEEE conference on computational intelligence and games, and he also regularly participates in game-jam contests. He also writes a blog on game design and game development.
- Unity 2020 Virtual Reality Projects - Third Edition
- Unity Artificial Intelligence Programming - Fourth Edition
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.