Unity Artificial Intelligence Programming Add powerful, believable, and fun AI entities in your game with the power of Unity
Learn and implement game AI in Unity to build smart environments and enemies with A* pathfinding, finite state machines, behavior trees, and the NavMesh Key Features Explore the latest Unity features to make AI implementation in your game easierBuild richer and more dynamic games using AI concepts s...
Saved in:
| Main Author: | |
|---|---|
| Format: | eBook Book |
| Language: | English |
| Published: |
Birmingham
Packt Publishing
2022
Packt Publishing, Limited Packt Publishing Limited |
| Edition: | 5 |
| Subjects: | |
| ISBN: | 1803238534, 9781803238531 |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Abstract | Learn and implement game AI in Unity to build smart environments and enemies with A* pathfinding, finite state machines, behavior trees, and the NavMesh
Key Features
Explore the latest Unity features to make AI implementation in your game easierBuild richer and more dynamic games using AI concepts such as behavior trees and navigation meshesImplement character behaviors and simulations using the Unity Machine Learning toolkit
Book Description
Developing artificial intelligence (AI) for game characters in Unity 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. The updated fifth edition of Unity Artificial Intelligence Programming starts by breaking down AI into simple concepts. Using a variety of examples, the book then takes those concepts and walks you through actual implementations designed to highlight key concepts and features related to game AI in Unity. As you progress, you’ll learn how to implement a finite state machine (FSM) to determine how your AI behaves, apply probability and randomness to make games less predictable, and implement a basic sensory system. Later, you’ll understand how to set up a game map with a navigation mesh, incorporate movement through techniques such as A* pathfinding, and provide characters with decision-making abilities using behavior trees. By the end of this Unity book, you’ll have the skills you need to bring together all the concepts and practical lessons you’ve learned to build an impressive vehicle battle game.
What you will learn
Understand the basics of AI in game designCreate smarter game worlds and characters with C# programmingApply automated character movement using pathfinding algorithm behaviorsImplement character decision-making algorithms using behavior treesBuild believable and highly efficient artificial flocks and crowdsCreate sensory systems for your AI worldBecome well-versed with the basics of procedural content generationExplore the application of machine learning in Unity
Who this book is for
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. |
|---|---|
| AbstractList | Learn and implement game AI in Unity to build smart environments and enemies with A* pathfinding, finite state machines, behavior trees, and the NavMesh
Key Features
Explore the latest Unity features to make AI implementation in your game easierBuild richer and more dynamic games using AI concepts such as behavior trees and navigation meshesImplement character behaviors and simulations using the Unity Machine Learning toolkit
Book Description
Developing artificial intelligence (AI) for game characters in Unity 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. The updated fifth edition of Unity Artificial Intelligence Programming starts by breaking down AI into simple concepts. Using a variety of examples, the book then takes those concepts and walks you through actual implementations designed to highlight key concepts and features related to game AI in Unity. As you progress, you’ll learn how to implement a finite state machine (FSM) to determine how your AI behaves, apply probability and randomness to make games less predictable, and implement a basic sensory system. Later, you’ll understand how to set up a game map with a navigation mesh, incorporate movement through techniques such as A* pathfinding, and provide characters with decision-making abilities using behavior trees. By the end of this Unity book, you’ll have the skills you need to bring together all the concepts and practical lessons you’ve learned to build an impressive vehicle battle game.
What you will learn
Understand the basics of AI in game designCreate smarter game worlds and characters with C# programmingApply automated character movement using pathfinding algorithm behaviorsImplement character decision-making algorithms using behavior treesBuild believable and highly efficient artificial flocks and crowdsCreate sensory systems for your AI worldBecome well-versed with the basics of procedural content generationExplore the application of machine learning in Unity
Who this book is for
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. |
| Author | Davide Aversa, Dr |
| Author_xml | – sequence: 1 fullname: Aversa, Davide |
| BackLink | https://cir.nii.ac.jp/crid/1130293391173403792$$DView record in CiNii |
| BookMark | eNpVkLtPwzAQxo14CFo6sjB1QEIdCn7Er7GtClSqBAOwRo5zjgypA04q1P8el7D0hrv7pJ8-3X0DdBKaAAhdEXyHU91rqYjCjGacEnWERgf6GA3-BFOcZWdJMKwxkzjD52jUth_JgBGluBIXaPIWfLcbz2Lnnbfe1ONV6KCufQXBwvglNlU0m40P1SU6daZuYfQ_h-j9Yfm6eJqunx9Xi9l6agjnmZha5pywmSk4FoXLSiMIYBDOKumkps5IprlIqLJlyUqulNS6MEpbTEttDBuiSW_8Y-oOYglV3O7Skm9MtPnBp4m97dmv2Hxvoe1yKJrm00Looqnz5XwhNFNUikTe9GTwPrd-30kKhmrGNCGSZSkhTRN23WMeAPK9V5sTTARNF7NfYoVpTQ |
| ContentType | eBook Book |
| Copyright | 2022 Packt Publishing |
| Copyright_xml | – notice: 2022 Packt Publishing |
| DBID | RYH |
| DEWEY | 006.3 |
| DOI | 10.0000/9781803245218 |
| DatabaseName | CiNii Complete |
| DatabaseTitleList | |
| DeliveryMethod | fulltext_linktorsrc |
| Discipline | Computer Science |
| EISBN | 9781803245218 1803245212 |
| Edition | 5 |
| ExternalDocumentID | 9781803245218 EBC6938276 BC16613379 10162655 |
| GroupedDBID | -VQ -VX 38. AABBV AAKGN AANYM AAZEP AAZGR ABIWA ABMRC ABRSK ABWNX ACMFT ACXXF ADBND AECLD AEDWI AEHEP AEIUR AEMZR AESKO AETWE AFQEX AHWGJ AKWEX ALMA_UNASSIGNED_HOLDINGS APVFW ATDNW BBABE BPBUR BSWCA CZZ DUGUG E2F EBSCA ECNEQ ECOWB ESHEC IIUVB K-E L7C OHILO OODEK QD8 TD3 UE6 XI1 RYH |
| ID | FETCH-LOGICAL-a15546-c3ff6c4ab506bf4da61e0e6fc87f792fa739565548cdd3d588799ba89c02d9aa3 |
| ISBN | 1803238534 9781803238531 |
| IngestDate | Fri Nov 21 20:09:07 EST 2025 Wed Nov 05 00:51:11 EST 2025 Wed Oct 15 14:08:53 EDT 2025 Thu Sep 11 05:51:51 EDT 2025 |
| IsPeerReviewed | false |
| IsScholarly | false |
| LCCallNum_Ident | Q335 .A947 2022 |
| Language | English |
| LinkModel | OpenURL |
| MergedId | FETCHMERGED-LOGICAL-a15546-c3ff6c4ab506bf4da61e0e6fc87f792fa739565548cdd3d588799ba89c02d9aa3 |
| Notes | Includes references and summaries |
| OCLC | 1309037040 |
| PQID | EBC6938276 |
| PageCount | 0 |
| ParticipantIDs | walterdegruyter_marc_9781803245218 proquest_ebookcentral_EBC6938276 nii_cinii_1130293391173403792 ieee_books_10162655 |
| PublicationCentury | 2000 |
| PublicationDate | 2022 [2022] |
| PublicationDateYYYYMMDD | 2022-01-01 |
| PublicationDate_xml | – year: 2022 text: 2022 |
| PublicationDecade | 2020 |
| PublicationPlace | Birmingham |
| PublicationPlace_xml | – name: Birmingham – name: Birmingham, UK |
| PublicationYear | 2022 |
| Publisher | Packt Publishing Packt Publishing, Limited Packt Publishing Limited |
| Publisher_xml | – name: Packt Publishing – name: Packt Publishing, Limited – name: Packt Publishing Limited |
| RestrictionsOnAccess | restricted access |
| SSID | ssj0003188586 |
| Score | 2.2586508 |
| Snippet | Learn and implement game AI in Unity to build smart environments and enemies with A* pathfinding, finite state machines, behavior trees, and the NavMesh
Key... |
| SourceID | walterdegruyter proquest nii ieee |
| SourceType | Publisher |
| SubjectTerms | Artificial intelligence COM012040 COMPUTERS / Programming / Games COMPUTERS / Programming / General COMPUTERS / Programming Languages / C# Computing and Processing Video games-Programming |
| Subtitle | Add powerful, believable, and fun AI entities in your game with the power of Unity |
| TableOfContents | Table of Contents
Introduction to AIFinite State MachinesRandomness and ProbabilityImplementing SensorsFlockingPath Following and Steering BehaviorsA* PathfindingNavigation MeshBehavior TreesProcedural Content GenerationMachine Learning in UnityPutting It All Together Cover -- Title -- Copyright and Credits -- Table of Contents -- Part 1: Basic AI -- Chapter 1: Introduction to AI -- Understanding AI -- AI in video games -- AI techniques for video games -- Finite state machines -- Randomness and probability in AI -- The sensor system -- Flocking, swarming, and herding -- Path following and steering -- A* pathfinding -- Navigation meshes -- Behavior trees -- Locomotion -- Summary -- Chapter 2: Finite State Machines -- Technical requirements -- Implementing the player's tank -- Initializing the Tank object -- Shooting the bullet -- Controlling the tank -- Implementing a Bullet class -- Setting up waypoints -- Creating the abstract FSM class -- Using a simple FSM for the enemy tank AI -- The Patrol state -- The Chase state -- The Attack state -- The Dead state -- Taking damage -- Using an FSM framework -- The AdvancedFSM class -- The FSMState class -- The state classes -- The NPCTankController class -- Summary -- Chapter 3: Randomness and Probability -- Technical requirements -- Introducing randomness in Unity -- Randomness in computer science -- The Unity Random class -- A simple random dice game -- Learning the basics of probability -- Independent and correlated events -- Conditional probability -- Loaded dice -- Exploring more examples of probability in games -- Character personalities -- Perceived randomness -- FSM with probability -- Dynamically adapting AI skills -- Creating a slot machine -- A random slot machine -- Weighted probability -- A near miss -- Summary -- Further reading -- Chapter 4: Implementing Sensors -- Technical requirements -- Basic sensory systems -- Scene setup -- The player's tank and the aspect class -- The player's tank -- Aspect -- AI characters -- Sense -- Sight -- Touch -- Testing -- Summary -- Part 2: Movement and Navigation -- Chapter 5: Flocking -- Technical requirements Basic flocking behavior -- Individual behavior -- Controller -- Alternative implementation -- FlockController -- Summary -- Chapter 6: Path Following and Steering Behaviors -- Chapter 7: A* Pathfinding -- Technical requirements -- Revisiting the A* algorithm -- Implementing the A* algorithm -- Node -- PriorityQueue -- The GridManager class -- The AStar class -- The TestCode class -- Setting up the scene -- Testing the pathfinder -- Summary -- Chapter 8: Navigation Mesh -- Technical requirements -- Setting up the map -- Navigation static -- Baking the NavMesh -- NavMesh agent -- Updating an agent's destinations -- Setting up a scene with slopes -- Baking navigation areas with different costs -- Using Off Mesh Links to connect gaps between areas -- Generated Off Mesh Links -- Manual Off Mesh Links -- Summary -- Part 3: Advanced AI -- Chapter 9: Behavior Trees -- Technical requirements -- Introduction to BTs -- A simple example - a patrolling robot -- Implementing a BT in Unity with Behavior Bricks -- Set up the scene -- Implement a day/night cycle -- Design the enemy behavior -- Implementing the nodes -- Building the tree -- Attach the BT to the enemy -- Summary -- Further reading -- Chapter 10: Procedural Content Generation -- Technical requirements -- Understanding Procedural Content Generation in games -- Kinds of Procedural Content Generation -- Implementing a simple goblin name generator -- Generating goblin names -- Completing the goblin description -- Learning how to use Perlin noise -- Built-in Unity Perlin noise -- Generating random maps and caves -- Cellular automata -- Implementing a cave generator -- Rendering the generated cave -- Summary -- Further reading -- Chapter 11: Machine Learning in Unity -- Technical requirements -- The Unity Machine Learning Agents Toolkit -- Installing the ML-Agents Toolkit Installing Python and PyTorch on Windows -- Installing Python and PyTorch on macOS and Unix-like systems -- Using the ML-Agents Toolkit - a basic example -- Creating the scene -- Implementing the code -- Adding the final touches -- Testing the learning environment -- Training an agent -- Summary -- Further reading -- Chapter 12: Putting It All Together -- Technical requirements -- Developing the basic game structure -- Adding automated navigation -- Creating the NavMesh -- Setting up the agent -- Fixing the GameManager script -- Creating decision-making AI with FSM -- Summary -- Index Unity Artificial Intelligence Programming: Add powerful, believable, and fun AI entities in your game with the power of Unity |
| Title | Unity Artificial Intelligence Programming |
| URI | https://ieeexplore.ieee.org/servlet/opac?bknumber=10162655 https://cir.nii.ac.jp/crid/1130293391173403792 https://ebookcentral.proquest.com/lib/[SITE_ID]/detail.action?docID=6938276 |
| hasFullText | 1 |
| inHoldings | 1 |
| isFullTextHit | |
| isPrint | |
| link | http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV1NT9wwEB3x0UMv0EIRC6WKEELiYDWJE8c-wmqrSq3QHhDiFjmOXa2qBthdvv49M06ym80F9cDF2kSJs5oXzUw8z_MATnQklXRpwgqhLEswB2e6FI6JMrJGYv7gfJ_u69_Z5aW8uVHjRv5m5uUEsqqSz8_q7l2hxnMINm2d_Q-4F5PiCfyNoOOIsOPYy4gXh62EEWXU51PP_ql7aHTabY5rIta_NlQRyETJ0Atmu-2uAMRxbwVgrM3feWfVqv6g7-6Oqj8WIxlyqrPW_q7vOilw1WyJ1et63ahHF0OhuIwzcXp3z0i8i4rcjZLJOmzijZwkDH6x5VIXug2ZSlF3OKXnfF95SqNrg8G9mkxWEv2tJ08ZKO2f6cPLvC1R-8h_9Qk2LW0H-QxrttqB7VYEI2h84i6cebMHS7MHXbMHHbN_gesfo6vhT9boTzBNWZZghjsnTKKLNBREaNQisqEVzsjMZSp2mqqcAi-Vpix5maLDVqrQUpkwLpXWfA82qtvK7kMQlbHLqFVQYdLEhVILE2Ne4IpUaWucG8AOGSGnN2fmeXcxTjyAI7RJbiY0RlRjVpxjeMp4EnL8BwMIWmvlvrjeMHrzJUwDOO5ZMacmKfkKBAdvz3MIH5fv3lfYmE8f7BF8MI_zyWz6zQP-CtGXNEA |
| linkProvider | Knovel |
| openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.title=Unity+Artificial+Intelligence+Programming&rft.au=Aversa%2C+Davide&rft.date=2022-01-01&rft.pub=Packt+Publishing%2C+Limited&rft.isbn=9781803245218&rft_id=info:doi/10.0000%2F9781803245218&rft.externalDocID=EBC6938276 |
| thumbnail_l | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=9781803238531/lc.gif&client=summon&freeimage=true |
| thumbnail_m | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=9781803238531/mc.gif&client=summon&freeimage=true |
| thumbnail_s | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=9781803238531/sc.gif&client=summon&freeimage=true |

