Unity Learn home
View Project Content

Finite State Machines

Project
Intermediate
+60 XP
1 Hour50 Mins
(297)
Overview
Summary
In this project you will learn about the design patter of "states" and use them to construct an AI behavioural algorithm called a Finite State Machine. This tutorial will combine you knowledge of NavMeshes and Graphs.
Project Objective
  • Explain the state pattern and how it can be used to develop a finite state machine.
  • Develop a finite state machine to control a non-player character that patrols a location in a game environment and will attack the player when approached.
  • Demonstrate the use of waypoints on a navigation mesh as locations in which behavioural states are executed by an NPC.
  • Explain the use of graph theory in developing a finite state machine system."
Select your Unity version
Last updated: January 25, 2023
2021.3
2019.4
2019.3
2019.2
2019.1
Language
English