Unity AI Tutorial: Perception System (Part 1)

Опубликовано: 13 Октябрь 2024
на канале: Iain McManus
794
49

This is the first part of a short (two part series) where we are going to be building a flexible perception system for our AI characters. In the first part our focus will be on building our faction system; setting up our key interfaces and our core Perception Manager logic.

Part 2 is available here:    • Unity AI Tutorial: Perception System ...  

🎞️ Chapters
00:00 Introduction
03:00 Where we're starting from
04:20 Building our faction system
19:30 Creating our file and folder structure
22:45 IPerceivable interface
24:50 IPerceptionListener interface
27:50 IPerceptionManager interface
33:45 ISensor interface
37:50 Building the Perception Manager
45:00 Registering a listener
51:45 Deregistering a listener
54:00 Deregistering and registering a perceivable
1:00:15 Getting the detection strength
1:02:30 Reporting a detection
1:05:40 Injecting a detection
1:09:40 Bootstrapping the Perception Manager
1:11:00 Ticking our sensors

📂 Grab the code:
Initial Code: https://github.com/GameDevEducation/U...
End of Video Code: https://github.com/GameDevEducation/U...
UPM Package: https://github.com/GameDevEducation/U...
Package Overview Video:    • Hybrid GOAP AI in Unity (Package Over...  

If you've got questions add a comment below or send them in for the next Q&A video
🤔 Send in your questions ➠ https://forms.gle/ToyvqPaBFvpFLtNbA

📁 The searchable video archive is at ➠ https://www.iainmcmanus.dev/gamedev-e...

Looking for other ways to get involved?
🟠 Support the channel on Patreon ➠   / iaintheindie  
🟡 Get the code for all the projects on GitHub ➠ https://github.com/orgs/GameDevEducation
🟢 Check out my games on itch.io ➠ http://iaintheindie.itch.io/
🟣 Follow me on Twitter ➠   / iaintheindie  

🎉 Thankyou to all of the Patrons 🎉
➔ Arman
➔ Kieran B
➔ Grant Coble-Neal
➔ John Kenneth Douglas
➔ Kasper Enwall
➔ Tylah Heil
➔ James McCarthy
➔ Travis Mosier
➔ Sam Orme
➔ Benjamin Russell
➔ Seriphis
➔ SiliconOrchid
➔ Callan Syratt
➔ Serj Tomas

#Unity #Tutorial #GameDev