Unity AI Tutorial: Perception System (Part 2)

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

This is the second 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 vision, hearing and proximity sensors and then integrating them into our AI framework.

🎞️ Chapters
00:00 Introduction
01:15 Blocking out our sensor scripts
03:30 Building our Sensor Base script
06:05 Setting up our Sensor Config scripts
21:50 Building our Proximity Sensor
32:15 Building our Hearing Sensor
38:30 Vision Sensor: Foundations
42:50 Vision Sensor: Registering a Listener
46:50 Vision Sensor: Deregistering a Listener
47:50 Vision Sensor: Registering a Perceivable
49:20 Vision Sensor: Deregistering a Perceivable
50:10 Vision Sensor: Ticking
52:20 Vision Sensor: Running the Query
58:30 Creating our Perceivable and Listener scripts
59:20 Building our Perceivable script
1:10:30 Building our Perception Listener script
1:24:00 Perception Listener: Determining our best target
1:34:00 Making our player Perceivable
1:35:00 Adding support to our AIs
1:40:00 Detecting target changes
1:47:00 Injecting jump sounds

📂 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