Active NavMeshAgent Avoidance - Run Away From or Around a Target | Unity Tutorial

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

КОМЕНТАРІ • 27

  • @Qornv
    @Qornv 5 місяців тому +4

    Absolute king with these in-depth tutorials

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

    Had to tear it up for my own use, but works pretty good. Not perfect, but really good.

  • @Hazzel31337
    @Hazzel31337 5 місяців тому +1

    nice video gave me an idea for a game, i used your unity asset store referal link to buy rayfire, hope it helps as a little thanks

  • @andaoking
    @andaoking 4 місяці тому +1

    can you maybe make a tutorial on enemie formations😊

  • @flaschenzuglp9994
    @flaschenzuglp9994 3 місяці тому +1

    Searched the whole evening for this solution. Simple, good explanation, nice visuals, great video!

  • @BoryslavMalishevskyi-j2x
    @BoryslavMalishevskyi-j2x 5 місяців тому +3

    I honestly don't understand why don't you have million subscribers.... Hope you will!!

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

    Awesome video!

  • @Sir_Isaac_Newton_FRS
    @Sir_Isaac_Newton_FRS 5 місяців тому

    Bro I have got an issue. I have created an ai script which wander along random wander points over the navmesh. However, sometimes the wander points are invalid and the ai does not move to the wander point and remains stationary at his position unless I manually move it to the wander point's position from the scene view.
    I would be very glad if you can help me...

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

      When picking a wander location you can call NavMesh.CalculatePath and see if the status is "Complete" (or check the Agent's path). If it is "Partial" that means the agent cannot fully travel to that location

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

    Can you please please dont be like others, when displaying code enlarge little bit, please. Its to dificult to see what is writhen. 😊❤

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

      It is zoomed 300%. If I pull it up on mobile and don’t go full screen I can see it’s a little small though. Maybe I’ll go a little bit more in the future

  • @BarcelonaMove
    @BarcelonaMove 5 місяців тому +2

    Yes ME!

  • @jamestanubrata6782
    @jamestanubrata6782 5 місяців тому +1

    That's so cool

  • @worldkho
    @worldkho 4 місяці тому +1

    Just what I needed

  • @thelearner2196
    @thelearner2196 5 місяців тому

    Hii bro I found a problem 😢 can you help me

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

      What’s the problem?

    • @thelearner2196
      @thelearner2196 5 місяців тому

      @@LlamAcademy I am working on moon knight game but I face problem on transformation from man to moon knight please help me how I fix it 😔

  • @silchasruin4487
    @silchasruin4487 5 місяців тому

    Who ME? Haha, I've been kicking myself trying to figure out a more performant way to use pathfinding to avoid the jostling and overlapping of Unitys navmesh agents. I'm trying to see if I can't figure out a way to implement RVO2 type of avoidance and collision detection while piggybacking off of Unitys default NavMesh Component.

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

      Doing a custom RVO2 agent is something I've wanted to do for a long time but haven't gotten to. If you figure it out I'd love to see it 🙂

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

      Oh, and YES YOU 🫵!

  • @syedahmedmalik
    @syedahmedmalik 5 місяців тому

    Your tutorial is Amazing, EVERY ON IS!!! Great Work and keep it up man!
    Suggestion : There seems to be background music but it's volume is very low. Your voice was overpowering it. I like tutorials with interesting music and maybe more sounds when you say something important or stuff. That way it will be more engaging like look at Dani or Thomas Brush.
    Cheers,

    • @LlamAcademy
      @LlamAcademy  5 місяців тому +1

      Thank you for the encouragement and feedback. In the earlier videos I had the music too loud so maybe I went a little far in the other direction to make it slightly too quiet now.

    • @syedahmedmalik
      @syedahmedmalik 5 місяців тому

      @@LlamAcademy You are welcome ^^
      Keep up the great work. I love watching your videos and tutorials :)