Attack Animation and Movement Lock - 2D Platformer Crash Course in Unity 2022 (Part 12) @ChrisTutorialsYT
Attack Animation and Movement Lock - 2D Platformer Crash Course in Unity 2022 (Part 12)  @ChrisTutorialsYT
Uploaded November 2022 | Updated September 2026, 2 weeks ago
How to setup an attack animation that locks movement on the player with a StateMachineBehaviour and returns to the ground movement states when the attack is complete.

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:39 - Making Attack Animation State
03:29 - Create Attack Input Action
05:43 - Exit from Attack State
06:44 - Lock Movement State Machine Behaviour
12:13 - Responding to Move Lock in Player Controller
13:51 - Wrapup
Attack Animation and Movement Lock - 2D Platformer Crash Course in Unity 2022 (Part 12)How to Use 2D Lights in Godot 4 ~ Tutorial for BeginnersUI Health Bar ~ COURSE FINALE - 2D Platformer Crash in Unity 2022 (Part 26)Player Interact with Objects & Resource Signal Bus Tutorial - Godot 4.2Tracking Game Stats UI Panel ~ 1 Bit Platformer [Part 19] ~ Godot 4.3Fire Projectiles ~ Aim at Mouse Cursor - 1 Bit Platformer [Part 4] - Godot 4.3 SeriesBasic Theme Setup Guide ~ Godot 4 Tutorial for BeginnersMaking UI for Games with UI Toolkit ~ Unity 2022 Beginners Guide to UIRandom vs Inventory Based Item Drops in Godot 4Player Hit Invincibility & Timed Damage Text ~ 1 Bit Platformer [Part 16] { Godot Tutorial }Platformer Game Quick Start Guide for Godot 4 BetaPixel Explosion Effect on Destroy GameObject ~ Making a Resource Gathering Game in Unity ~ Part 15
Chris Tutorials |

Attack Animation and Movement Lock - 2D Platformer Crash Course in Unity 2022 (Part 12)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER