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

Поделиться
HTML-код
  • Опубликовано: 17 дек 2024

Комментарии • 26

  • @Qornv
    @Qornv 7 месяцев назад +4

    Absolute king with these in-depth tutorials

  • @flaschenzuglp9994
    @flaschenzuglp9994 5 месяцев назад +1

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

  • @worldkho
    @worldkho 7 месяцев назад +1

    Just what I needed

  • @naijii
    @naijii 4 месяца назад

    Awesome video!

  • @BoryslavMalishevskyi-j2x
    @BoryslavMalishevskyi-j2x 7 месяцев назад +3

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

  • @jamestanubrata6782
    @jamestanubrata6782 7 месяцев назад +1

    That's so cool

  • @Hazzel31337
    @Hazzel31337 7 месяцев назад +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

    • @LlamAcademy
      @LlamAcademy  7 месяцев назад

      Awesome! Thank you 🙏

  • @Sir_Isaac_Newton_FRS
    @Sir_Isaac_Newton_FRS 7 месяцев назад

    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  7 месяцев назад

      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

  • @BarcelonaMove
    @BarcelonaMove 7 месяцев назад +2

    Yes ME!

  • @dico3557
    @dico3557 7 месяцев назад

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

  • @silchasruin4487
    @silchasruin4487 7 месяцев назад

    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  7 месяцев назад

      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  7 месяцев назад

      Oh, and YES YOU 🫵!

  • @thelearner2196
    @thelearner2196 7 месяцев назад

    Hii bro I found a problem 😢 can you help me

    • @LlamAcademy
      @LlamAcademy  7 месяцев назад

      What’s the problem?

    • @thelearner2196
      @thelearner2196 7 месяцев назад

      @@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 😔

  • @syedahmedmalik
    @syedahmedmalik 7 месяцев назад

    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  7 месяцев назад +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 7 месяцев назад

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

  • @dkordy
    @dkordy 7 месяцев назад +1

    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  7 месяцев назад

      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