In this tutorial we are going to be overhauling the Point of Interest (POI)/Look at system in the AI behaviours package. We'll be making it more modular and decoupled to make it easier to expand in future and simplify the setup process.
Project at the start of the video: https://github.com/GameDevEducation/U...
Project at the end of the video: https://github.com/GameDevEducation/U...
Latest Unity Package version: https://github.com/GameDevEducation/U...
🎞️ Chapters
00:00 Introduction
02:00 Overview and initial setup
06:40 Setting up the interfaces
10:45 Implementing LookTargetBase
14:30 Implementing LookHandlerBase
24:00 Implementing the look logic
30:15 Removing legacy code
31:40 Updating prefabs
35:00 Relocating behaviours
39:00 Fixing the namespaces
42:00 Updating the Look At Decorator
46:45 Updating the Look At State
48:30 Updating the POI Selection Node
52:20 Updating the POI Selection Service
57:15 Updating the State Machine Brain
59:00 Updating the Look At State
1:02:00 Updating the POI Selection State
1:04:00 Updating the GOAP Actions
1:08:20 Updating the Standalone Behaviour Trees
1:10:00 Updating the Standalone State Machines
1:14:00 Building our AI Look At Handler
1:22:55 Testing the new logic
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
➔ Chizzler
➔ Grant Coble-Neal
➔ John Kenneth Douglas
➔ Kasper Enwall
➔ Tom Gordon
➔ Tylah Heil
➔ Inho Kim
➔ Maxamillian Marsh
➔ James McCarthy
➔ Travis Mosier
➔ Benjamin Russell
➔ Seriphis
➔ SiliconOrchid
➔ Callan Syratt
➔ Serj Tomas
#Unity #Tutorial #GameDev