Enemy Attack AI and Animation States - 2D Platformer Crash Course in Unity 2022 (Part 14) @ChrisTutorialsYT
Enemy Attack AI and Animation States - 2D Platformer Crash Course in Unity 2022 (Part 14)  @ChrisTutorialsYT
Uploaded November 2022 | Updated September 2026, 2 weeks ago
Setting up attack triggers with a detection zone and adding many animations states to our knight enemy.

Reference Project Patreon Download ➣ patreon.com/posts/2d-platformer-73894085
2D Crash Course Platformer Tutorial Playlist ➣ youtube.com/playlist?list=PLyH-qXFkNSxmDU8ddeslEAtnXIDRLPd_V
Play the Project in Web Browser ➣ chris-tutorials.itch.io/platformer-crash-course-reference-project

➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
patreon.com/christutorials
chris-tutorials.itch.io
https://linktr.ee/ChrisTutorials

◢ Chris Recommends ◥
Master Skills with Skillshare Video Courses ►► skillshare.com/r/user/christutorials?gr_tch_ref=on
Save Money Shopping Online with Honey Extension ►► joinhoney.com/ref/qd04c25

00:00 - What to Expect
00:34 - Knight Animations Run, Attack, Hit, Death
05:00 - Knight Animator State Machine Setup
07:02 - Attack Condition
08:46 - Detection Zone
10:57 - Detection Zone Script
15:20 - Testing Attack
16:17 - Slower Knight Attack
17:34 - CanMove False on Attack
20:14 - Stop Move over time with Lerp function
22:18 - Wrapup
Enemy Attack AI and Animation States - 2D Platformer Crash Course in Unity 2022 (Part 14)How to Setup Blend Trees for Easy 4 Directional Movement in Unity 2022How to Import Tiled Maps FAST with Collisions and Sorting - SuperTiled2Unity TutorialBest Way to Pause Your Game using the Notification Trick ~ Godot 4.3 TutorialLevel Scene ~ Follow Camera, Adding Scene Objects, and Y-Sorting - Godot 4 TutorialGrid Building for Godot 4 Plugin Overview - How to Place Objects into your Game Levels!How to Setup Physics Collisions for Tilemaps ~ Godot 4.1 Tutorial for BeginnersSaving and Loading Objects Placed During Gameplay ~ Godot 4 Tutorial (Grid Builder Plugin)How to Make Magic Projectile Abilities ~ Platformer MEGA Tutorial for Godot 4.2Harvestable Resources and Pickup to Inventory ~ Making a Resource Gathering Game in Unity ~ Part 13Damageable Enemies, Hitboxes, & Hurtboxes - 1 Bit Platformer [Part 5] - Godot 4.3 SeriesFINAL Project Demo - Resource Gathering RPG in Godot 4 Tutorial
Chris Tutorials |

Enemy Attack AI and Animation States - 2D Platformer Crash Course in Unity 2022 (Part 14)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER