Enemy State Machine AI FULL IMPLEMENTATION | AI Series 47




Published: 18 Aug 2023

Learn how you can implement Enemy AI with a Finite State Machine. This is a full implementation using Unity Hierarchical State Machine (Unity HFSM), a code-driven state machine framework for Unity.


🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂

👨‍💻 Get the FULL FREE PROJECT on GitHub: https://github.com/llamacademy/ai-series-part-47

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


📚 Resources:

🟠 Unity HFSM: https://github.com/Inspiaaa/UnityHFSM

🟠 This super cool Llama: https://assetstore.unity.com/packages/3d/characters/animals/mammals/llama-quirky-series-178234?aid=1101l9QvC

🟠 Unity Particle Pack (free): https://assetstore.unity.com/packages/vfx/particles/particle-pack-127325?aid=1101l9QvC

🟠 AI Series 44 (Movement Prediction): https://youtu.be/1Jkg8cKLsC0

🟠 Damage System: https://youtu.be/6yvUmSxlGQo

🟠 Unity 2021 Object Pooling API: https://www.youtube.com/watch?v=zyzqA_CPz2E

🟠 Comparison of AI Behavior Frameworks: https://youtu.be/CZvfuNfdc1M


Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.


Connect on Social Media

Some links may be affiliate links, which at no additional cost to you, gives LlamAcademy a small portion of the purchase.