Unity | How to make a simple AI Navigation System - 2023

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024

ความคิดเห็น • 28

  • @raxacoricofallapatorius8484
    @raxacoricofallapatorius8484 6 หลายเดือนก่อน +5

    turn this into a series. more videos means more traffic, means more awareness of your excellent work.

    • @DarkWing.Studio
      @DarkWing.Studio  6 หลายเดือนก่อน

      Thank you very much, I was also thinking to make more AI related video so I might just turn this into a series. Thanks for the feedback!

  • @jugglingjoestudios3338
    @jugglingjoestudios3338 3 หลายเดือนก่อน +2

    v helpful - thank you! :)

  • @MrRikunaru
    @MrRikunaru 9 หลายเดือนก่อน +2

    Nicely quick compact and still extensive! Very well done - thanks for this! Perfect for my next prototype :D

    • @DarkWing.Studio
      @DarkWing.Studio  9 หลายเดือนก่อน

      Thank you so much! I am glad it helped you

  • @PierreHaou
    @PierreHaou 5 หลายเดือนก่อน +1

    best tutorial ive seen on ai nav in unity, well done sir 🙏

    • @DarkWing.Studio
      @DarkWing.Studio  5 หลายเดือนก่อน

      Thank you so much, I am glad you found this helpful!

  • @juleswombat5309
    @juleswombat5309 7 หลายเดือนก่อน +2

    Awesome.
    I would like to know a little more on how to implement Nav paths, that represent AI Agents using going up and down lifts/elevators. I guess the Links method would work. But I would have to intercept the Agent, entering into the lift, stop the Agent, Animate the Lift an Agent as lift Manoeuvre, then enbable the Nav Agent again.

    • @DarkWing.Studio
      @DarkWing.Studio  7 หลายเดือนก่อน +1

      Maybe you could try using a coroutine so while the lift interaction is happening the agent would be stopped and it will be enabled again once the coroutine is finished

    • @a3dadventure79
      @a3dadventure79 7 หลายเดือนก่อน +2

      i use a Rigidbody as well as an agent, and i handle switching from different "states", one where the navmesh agent and it's appropriate operations run, and then another one where i focus on applying physics and where the agent is off. i think it's a really good learning opportunity to be able to be flexible on how the ai character is handled or behaves. you could factorize and modularize the code so different agents could interact with different objects that the navmesh does not handle, such as lifts and other gameobject behavior you design. wishing you the best!

  • @citycritteradventures7427
    @citycritteradventures7427 7 หลายเดือนก่อน +1

    Really great job. Clear, and powerful. You also introduced navmesh offlinks, which is something I’m trying to code to my ai characters (jump). All in all, keep these coming. Wishing you all the best. Liked and subd

    • @DarkWing.Studio
      @DarkWing.Studio  7 หลายเดือนก่อน +1

      Thank you so much, I really appreciate it!

  • @josueserrano6180
    @josueserrano6180 หลายเดือนก่อน

    thank youuuu

  • @bpro5848
    @bpro5848 9 หลายเดือนก่อน +1

    Thank you!!!

    • @DarkWing.Studio
      @DarkWing.Studio  9 หลายเดือนก่อน

      No problem, hope it was helpful!

  • @rodrigoaltamiranda8949
    @rodrigoaltamiranda8949 หลายเดือนก่อน

    thanks very useful

  • @trix_dev6088
    @trix_dev6088 2 หลายเดือนก่อน +2

    PLEASE MAKE SURE YOUR GIZMOS ARE ON!!!! If when baking your nav mesh the blue overlay doesn't show up, that's likely why

  • @SamiKhan-zt9yo
    @SamiKhan-zt9yo 2 หลายเดือนก่อน +1

    Please make a 3D school navigation system

  • @risingforce9648
    @risingforce9648 5 หลายเดือนก่อน +1

    I do not know how to deal tdamage betwenn 2 entitites when I use this navmesh, any idea? my entity use tod have childs inside the parents, and only the parents have the navemshh and the colliders.

    • @DarkWing.Studio
      @DarkWing.Studio  5 หลายเดือนก่อน

      Are you referring to damage when the entities collide?

    • @risingforce9648
      @risingforce9648 5 หลายเดือนก่อน +1

      @@DarkWing.Studio yes for any reason when I use navemesh I can not get collisions ...

    • @DarkWing.Studio
      @DarkWing.Studio  5 หลายเดือนก่อน

      @@risingforce9648 make sure that both objects have a collider and at least one of the entities must have a rigidbody component. If you want to use the OnTriggerEnter function, make sure that at least one of the objects have the collider set to Is Trigger.

  • @user-gg8yy2yf4p
    @user-gg8yy2yf4p 5 หลายเดือนก่อน

    blue area is not showing plz help

    • @DarkWing.Studio
      @DarkWing.Studio  5 หลายเดือนก่อน

      Hmm, make sure that you have set the area to walkable in the NavMeshSurface component and also check out the object collection to see if it takes everything you want into consideration.

    • @eqanmustafa3925
      @eqanmustafa3925 17 วันที่ผ่านมา +1

      turn on the gizmos & show nav mesh.

  • @ecenjoyer
    @ecenjoyer 5 หลายเดือนก่อน +1

    cool but what about dynamic obstacles that are moving? how can you bake the surface then dynamically all the time the object moves

    • @DarkWing.Studio
      @DarkWing.Studio  5 หลายเดือนก่อน

      You can use the Carve option in the NavMesh Obstacle Component