100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Presentation

Unity Artificial Intelligence Programming - Fifth Edition

Rating
-
Sold
-
Pages
315
Uploaded on
02-08-2024
Written in
2022/2023

"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."

Show more Read less
Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
August 2, 2024
Number of pages
315
Written in
2022/2023
Type
Presentation
Person
Unknown

Subjects

Content preview

,Contents
Preface
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

Setting up our scene

The player's tank and the aspect class

The player's tank
$4.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
RobertCuong

Get to know the seller

Seller avatar
RobertCuong Telecommunication
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
225
Last sold
-
GPON and WiFi

+ SDH solution based on Fujitsu/Alcatel/Huawei devices in deployment and troubleshoot + Switching and Routing network fundamental and advance + GPON solution with deep knowledge of PLOAM/OMCI, activation procedure. Analysis of Private/Public OMCI + WiFi solution with WiFi Management/Control/Data. WiFi bandsteering, WiFi mesh, and WiFi 6, 6E, 7, ...

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions