Skip to content

The code for a short tutorial on how to create a simple guard AI using behaviour trees in Unity/C# (in text or video format)!

License

Notifications You must be signed in to change notification settings

MinaPecheux/UnityTutorials-BehaviourTrees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[Unity/C#] A simple behaviour tree

Mina Pêcheux - November 2021

How can we create a simple guard AI using the behaviour tree pattern? Let's discover more in this video/text tutorial: "How to create a simple behaviour tree in less than 30 minutes" :)

You can read it in text format on Medium, or watch it on Youtube.

thumbnail

In this less than 30 minutes-tutorial, I'm discussing what behaviour trees are, why they are often better at modelling complex systems than finite state machines and how we can apply this classic pattern to the design of a simple guard AI to have it patrol, target enemies and attack!

This Github repo contains the scripts that are coded in the tutorial, as well as all the resources (imported models, materials, particle systems...) that are used throughout this episode :)

demo

About

The code for a short tutorial on how to create a simple guard AI using behaviour trees in Unity/C# (in text or video format)!

Topics

Resources

License

Stars

Watchers

Forks