Final Knight Enemy AI & Cliff Detection - 2D Platformer Crash Course in Unity 2022 (Part 17)
Chris' Tutorials
Finishing up the knight enemy with cliff detection and an attack cooldown timer.
Reference Project Patreon Download ➣ https://www.patreon.com/posts/2d-platformer-73894085 2D Crash Course Platformer Tutorial Playlist ➣ https://www.youtube.com/playlist?list=PLyH-qXFkNSxmDU8ddeslEAtnXIDRLPd_V Play the Project in Web Browser ➣ https://chris-tutorials.itch.io/platformer-crash-course-reference-project
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://www.patreon.com/christutorials https://chris-tutorials.itch.io/ https://linktr.ee/ChrisTutorials
◢ Chris Recommends ◥ Master Skills with Skillshare Video Courses ►► https://www.skillshare.com/r/user/christutorials?gr_tch_ref=on Save Money Shopping Online with Honey Extension ►► https://joinhoney.com/ref/qd04c25
00:00 - What to Expect 00:15 - Attack Timer 00:55 - SetFloatBehaviour Script 01:55 - Set Attack Cooldown 05:17 - FIX: Removing hasTarget condition to allow attack to exit StateMachine 06:12 - Add AttackCooldown Condition to Attack Exit 07:21 - Knight Cliff Avoidance 11:17 - Switch Cliff Detection to Event to Delay Check 14:10 - Wrapup ... https://www.youtube.com/watch?v=-KPjYn881uM
90279065 Bytes