Enemy Behavior Tree AI FULL IMPLEMENTATION (AI Tree) | AI Series 48 | Unity Tutorial

Поділитися
Вставка
  • Опубліковано 2 жов 2024

КОМЕНТАРІ • 28

  • @LlamAcademy
    @LlamAcademy  Рік тому +2

    Go to this video's Sponsor: snhu.edu/llamacademy to learn more about an accredited degree program in Game Design and Development! Special thanks to SNHU for sponsoring this video!
    A special thanks as well to Renowned Games for the copy of AI Tree 🧡!
    I hope you all got value from seeing the full end to end implementation of an enemy AI with a behavior tree! In case you skipped the description, there are some key resources you may want to check out as well!
    ⚫ A more scalable way to define enemy stats (we used a simplistic way in this tutorial for ease of understanding): ua-cam.com/video/PoglGJoDcZg/v-deo.html
    ⚫ The same Enemy AI implemented with a Finite State Machine: ua-cam.com/video/jnETyJUiCiM/v-deo.html
    ⚫ Not sure which AI Behavior Framework to use? Check out my comparison video: ua-cam.com/video/CZvfuNfdc1M/v-deo.html
    ⚫ AI Tree: assetstore.unity.com/packages/tools/behavior-ai/ai-tree-229578?aid=1101l9QvC
    ⚫ The Quirky Llama: assetstore.unity.com/packages/3d/characters/animals/mammals/llama-quirky-series-178234?aid=1101l9QvC
    ⚫ Unity Particle Pack: assetstore.unity.com/packages/vfx/particles/particle-pack-127325?aid=1101l9QvC
    Disclaimer: Some of those links are affiliate links, which at no additional cost to you, gives me a small portion of the purchase.
    Stay strong 💪💪!

  • @MagicPigGames
    @MagicPigGames Рік тому +1

    Oooo this'll be my next video to watch. And USE.

  • @alec_almartson
    @alec_almartson Рік тому +2

    Thank You for making this very helpful video. 💯👍🏻
    I will rewatch it and apply it (AI Behavior Trees) to a Demos scene this weekend to as much as it's possible about this topic with your video 📚🎮✌🏻

  • @brbdennis5317
    @brbdennis5317 Рік тому +3

    Thank you for the video!

    • @LlamAcademy
      @LlamAcademy  Рік тому +2

      I hope it helps connect some dots!

  • @wizzely7718
    @wizzely7718 Рік тому +3

    for the last 30 days i had watched ur tutorials every single day, u explain better than many and for me, you are the best for sure ❤️❤️❤️

  • @ek2499
    @ek2499 9 місяців тому +1

    You're awesome. Thank you for this great video. I also wonder about your thoughts on Unity Muse

    • @LlamAcademy
      @LlamAcademy  9 місяців тому

      Thanks ☺. I'm excited to try it out but I haven't gotten a chance to yet

  • @daftapplegames5559
    @daftapplegames5559 4 місяці тому

    Really nice tutorial, thank you! I picked up AI Tree on sale and am really pleased with it so far. Very intuitive, and really easy to extend as you demonstrate. Hoping to see more of these tutorials in the future - I'd really love to see something along the lines of a "needs" system for AI. So things like hunger, thirst, injury, and how those might drive behaviour trees.

  • @marcomoutinho7611
    @marcomoutinho7611 2 місяці тому

    What / where are this Behavior Tree??? Is similar to unreal engine? Its on asset store?

    • @LlamAcademy
      @LlamAcademy  2 місяці тому

      This is AI Tree from the asset store. I have a link to it in the description if you’re thinking about purchasing it.

  • @roguetaver579
    @roguetaver579 11 місяців тому +1

    Hi! Great Video, just one thing, I believe the link to the github is wrong

  • @amirscott1964
    @amirscott1964 Рік тому

    With the implementation of ragdolls being so diverse in gaming, do you believe you can make a video breaking down uses of ragdolls in different games and give a light idea of how they were achieved
    I’m interested in titles with more weighty and organic ragdolls like gta 4, war box, and exanima
    As well as the cartoonish variety as seen with titles like gang beasts, totally accurate battle simulator
    Most tutorials with ragdoll in the name only tell you how to make a character flop to the ground on death or impact

  • @aruura8932
    @aruura8932 11 місяців тому

    Thank you for the helpful video, can you tell me how the enemy chases player on the jump platform or second floor?

  • @M2Itacho15
    @M2Itacho15 7 місяців тому

    @LiamAcademy I have a question, would you say It's easy to implement this behavior tree on a online game? I'm just learning now about synchronization between server and clients and was wondering if you think there's a specific AI Behaviour framework I should go towards

    • @LlamAcademy
      @LlamAcademy  7 місяців тому

      They’re all more or less the same for networked games. I wouldn’t consider any of them less powerful or more tricky in a networked environment

  • @NaviYT
    @NaviYT 11 місяців тому

    Hey there! I’m very interested in this asset, however, does it require you to setup a nav mesh and navmesh agent?

    • @LlamAcademy
      @LlamAcademy  11 місяців тому

      Nope! NavMesh is not required. I just happened to be using it and the nodes related to NavMesh/NavMeshAgent

  • @glock6554
    @glock6554 Рік тому

    hey boss. i think you are the best guy out there who can do the most efficient research and use cases for a topic for unity. i would like to see your video about Unity DOTS ECS, what is it, how to benefit from it properly, how to apply it to an existing project for massive benefits or should we etc. you know your drill 😀

    • @LlamAcademy
      @LlamAcademy  Рік тому

      Thank you 🧡! DOTS / ECS as a whole is a very...very large topic that I will have to spend some time working with before I can put together that video. I'd like to cover it in the longer term for sure.
      Meanwhile you can be on the look-out for smaller parts such as how to use DOTS in some specific cases outside of ECS to get performance boosts.

  • @awesomemike3857
    @awesomemike3857 Рік тому

    Thansk for the very helpful video, even though this is significantly less code than the state behaviour
    I cant help but feel like the tree could have been way smaller
    For example is there node wait for animation duration instead of us having to guess

    • @LlamAcademy
      @LlamAcademy  Рік тому

      There are definitely different ways to approach every portion of what I implemented here 🙂.
      For the animation time, I just didn't review the animation's FPS & duration ahead of time to make an informed decision on what the wait time should be 😅. I don't think there's a "Wait for Animation to Play" node out of the box here. If that is something you want or need, AI Tree provides a really convenient way to make your own nodes, so you could make one.
      This is just one way to approach these behaviors that I hope people can use as a reference if they don't really know where to start or how behavior trees work. Definitely not the only way and definitely not the "best"!

  • @__Rizzler__
    @__Rizzler__ Рік тому

    Hey I do have a doubt. Can I use the quirky series models for commercial purposes?

    • @LlamAcademy
      @LlamAcademy  Рік тому

      Yes, anything from the Asset Store is available for use in commercial projects

  • @SA-lk6lv
    @SA-lk6lv Рік тому

    crashkonijn GOAP next please!