Switch to the store?

Unity 4.x Game AI Programming

More Information
  • Building finite state machines (FSMs)
  • Implementing a sensory system
  • Applying flocking behavior for a crowd
  • Executing your own A* pathfinding algorithm in Unity3D
  • Applying random and probability techniques in a betting game
  • Using the Unity3D pro feature, navigation graphs, for path finding
  • Learning about behavior trees and the Behave plugin
  • Implementing a racing game AI through the final chapter project

This book fills the gap between artificial intelligence (AI) books designed to learn underlying AI algorithms and general Unity3D books written to cover basic scene setup and scripting in Unity3D. Game AI Scripting in Unity3D covers implementing AI techniques such as flocking, pathfinding, path following, and behavior trees in Unity3D with example projects.

Game AI Scripting in Unity3D will show you how to apply AI techniques to your Unity3D projects using C# as the scripting language. Unlike other AI books and Unity3D books, this book tries to focus more on the application of AI techniques in the Unity3D engine, with sample projects that demonstrate finite state machines (FSMs), pathfinding, steering, navigation graphs, and behavior trees techniques.

This book shows how to implement various AI techniques in Unity3D by implementing the algorithm from scratch using C#, applying Unity3D built-in features, or using available scripts and plugins from the Unity Asset Store. For example, we’ll be implementing our own A* algorithm to do pathfinding but will also explore the Unity3D navigation graphs feature. Then we’ll use the Behave plugin to construct behavior trees for intelligent AI character behaviors.

Game AI Scripting in Unity3d  covers other AI techniques such as flocking behavior, building a sensory system for taking inputs from the environment and other AI agents, and so on. In the final chapter this book will show you how to build a racing game AI project using Unity3D and applying the techniques described in earlier chapters.

  • A practical guide with step-by-step instructions and example projects to learn Unity3D scripting
  • Learn pathfinding using A* algorithms as well as Unity3D pro features and navigation graphs
  • Implement finite state machines (FSMs), path following, and steering algorithms
Page Count 232
Course Length 6 hours 57 minutes
ISBN 9781849693400
Date Of Publication 22 Jul 2013


Aung Sithu Kyaw

Aung Sithu Kyaw is passionate about graphics programming, creating video games, writing, and sharing knowledge with others. He holds an MSc in digital media technology from the Nanyang Technological University (NTU), Singapore. Lastly, he worked as a research associate, which involved implementing a sensor-based real-time movie system using Unreal Development Kit. In 2011, he founded a tech start-up focusing on interactive media productions and backend server-side technologies.

Thet Naing Swe

Thet Naing Swe has been working in the software and game industry for more than 10 years and has a passion for creating all types of games including serious, casual, casino and AAA games.

He received the 1st class Honor Degree in Computer Games Development from University of Central Lancashire, UK in 2008 and started working as a game programmer at CodeMonkey studio for a year before joining NTU Singapore as a graphic programmer using UDK. He founded JoyDash Pte Ltd Singapore in 2014 where it produces casino, casual and multiplayer mobile games mainly for Myanmar market.

Clifford Peters

Clifford Peters is a programmer and a computer scientist. He has reviewed the following Packt Publishing books: Unity Game Development Essentials, Unity 3D Game Development by Example Beginner's Guide, Unity 3 Game Development Hotshot, Unity 3.x Game Development by Example Beginner's Guide, Unity iOS Game Development Beginner's Guide, and Unity iOS Essentials.