Add Jumping to Your Unity 3D NavMesh Movement - Top Down Controller Tutorial P2

Поділитися
Вставка
  • Опубліковано 29 чер 2024
  • Part 1: • Build Your Diablo-Like...
    Learn how to make your NavMesh agent Jump by playing the jump animation and moving on a curve. We will set up a NavMesh that uses NavMeshLinks so that characters can jump between platforms. We will also implement a custom Spline implementation to represent the Jump path.
    Learn more from about Unity Game Dev in my video courses at:
    courses.sunnyvalleystudio.com/
    Assets used:
    maxparata.itch.io/monogon-dun...
    Scripts on Github:
    github.com/SunnyValleyStudio/...
    Join the discord:
    / discord
    You can support me through Patreon:
    / sunnyvalleystudio
    Chapters:
    00:00 NavMesh Links
    01:13 Manually adding Links to NavMesh
    03:17 Implementing Spline
    07:32 Connecting Spline with NavMesh Link
    09:30 Testing Spline
    11:15 Adding Jump to AgentMover script
    18:12 Testing Jump movement
  • Розваги

КОМЕНТАРІ • 21

  • @AetherXIV
    @AetherXIV 9 місяців тому +3

    dang man. thanks for sharing. I will keep this in mind if I ever need to tackle these same problems.

  • @merleatmo
    @merleatmo 8 місяців тому +2

    Thanks man! Great explain 💪🏾👏 and thanks for still using unity 😊

  • @K.Z007
    @K.Z007 7 місяців тому +1

    This is great and valuable tutorial. Thank you a lot for sharing.

  • @RootGames
    @RootGames 9 місяців тому +2

    This is great! Thanks

  • @user-fc6gt2dg2y
    @user-fc6gt2dg2y 4 місяці тому +1

    what a great video to learn. thanks for your effort i can build my own diablostyle game. subscribed from korea

  • @raphaeljaggerd3585
    @raphaeljaggerd3585 7 місяців тому +1

    Your are a blessing man. Thank you. Please do a tutorial on how to recreate the movement mechanic from door kickers 2

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

      Thanks! I will add it to my tutorial ideas list 🙂

  • @ksong5589
    @ksong5589 8 місяців тому +1

    wow awesome bro

  • @praveenb-xr
    @praveenb-xr 8 місяців тому +1

    Subscribed man.. Keep doing different tutorial in unity

  • @lissn48
    @lissn48 2 місяці тому +1

    what should I do if my agent fails after landing?

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

      NavMeshAgent has no gravity force applied. If agent falls through the ground it means that our own code doesn't disengages the movement based on the spline. I bet its some code bug where after finishing our custom movement the code gets confused. I would debug the code to see what happens at that moment.

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

    Hi how can i get in contact? its regarding purchase of the building system

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

      Feel free to join the discord and ask me there discord.gg/RQEtYHz