Making AI for game is tough. Unity's does try to help you, but not really. You have to do all by yourself. Luckily, you are not the first one with this problem, so in this video we explore what it takes to make an enemies behaves a bit smarter. ★ Join the Kingdom: https://discord.gg/M2qfnUGxAz ► Download the Sci-Fi Kit: https://gamedev.lu/downloads ► Hero Robot used in the video: https://assetstore.unity.com/packages/3d/characters/robots/robot-hero-pbr-hp-polyart-106154 ► FSM Code by Jason: https://game.courses/bots-ai-statemachines/ ► Firewatch Animation Talk: https://www.youtube.com/watch?v=8VgQ5PpTqjc ► Code your own Behaviour Tree: https://medium.com/geekculture/how-to-create-a-simple-behaviour-tree-in-unity-c-3964c84c060e ► Probably the best plugin for Behaviour Trees: https://assetstore.unity.com/packages/tools/visual-scripting/behavior-designer-behavior-trees-for-everyone-15277#reviews ► A bit about G.O.A.P: https://gamedevelopment.tutsplus.com/tutorials/goal-oriented-action-planning-for-a-smarter-ai--cms-20793 ···················································································· Chapters: 00:00 Introduction 01:05 Setup 02:10 Bake NavMesh 03:38 Enemy Setup 06:24 Enemy Animator 07:47 Enemy Script 11:59 Implement Shooting 16:09 Make a smarter Enemy 16:40 Finite-State Machine 19:41 Implement Cover 20:45 New Animator 25:03 Implement FSM 31:22 Final & Community Launch ···················································································· ★ Download Will & The Evil Duck for FREE (iOS & Android): https://gamedev.lu/games/will-and-the-evil-duck/ ► The GameDev Website: https://gamedev.lu ···················································································· ● X: https://x.com/GameDevLu ● Instagram: https://www.instagram.com/gamedev.lu/