Tutorial: 3D Navigation Basics in Godot 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 มิ.ย. 2024
  • I've got another Godot 4 tutorial for you, this time we are getting up and running with 3D Navigation in Godot 4 - using the built-in Nodes and functions to move enemy AI from point A to B avoiding obstacles as they go.
    🤖 This tutorial is using Godot 4.2.1 stable.
    📚 Superb navigation docs: docs.godotengine.org/en/stabl...
    🎁 Script available on Github here: gist.github.com/bramreth/21a8...
    📰 Check out my Godot 4 course here! bramwell.itch.io/godot-4-begi...
    📺 Also my GamedevTV course here! www.gamedev.tv/p/complete-god...
    ✨ Socials ✨
    🔗 Linktree: linktr.ee/bramwellgames
    🐦 Twitter: / bramreth
    💬 Discord: / discord
    🥰 Patreon: / bramwell
    🎮Games: bramwell.itch.io/
    Chapters:
    00:00 Introduction
    00:28 Components
    01:05 NavigationRegion Setup
    02:22 Baking the NavigationMesh
    04:21 Creating an NPC
    06:26 Scripting
    09:15 Running the Scene
    11:10 Midroll
    12:04 Adding Obstacles
    14:45 Wrap-Up
    #Godot4 #GodotEngine #Gamedev

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

  • @glefordbanglayan5322
    @glefordbanglayan5322 3 หลายเดือนก่อน +32

    PLEASE DONT STOP MAKING GODOT TUTORIALS

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

      Why not 😅?

    • @8083music
      @8083music 6 วันที่ผ่านมา

      Agree

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

    Dont stop with your tut videos. I love your cadence, explanations, and voice. Youre doing an amazing job with everything. The video edits, the video transitions, the references to info. Youre good.

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

      Where did he say that he was going to stop making more tutorials?

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

    Thank you for your guide! Please, don't stop making tutorials.

  • @JeffThePoustman
    @JeffThePoustman 17 วันที่ผ่านมา

    You are probably gifted, but certainly excellent, at tutorials. Glad to subscribe.

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

    Hey just wanted to say thank you for your godot tutorial series on Udemy, very high quality, great explanations, helped me a lot to get a jump start!

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

    I want to thank you for Udemy GODOT, where you were the only one who convinced me that these courses make sense. I have tried many courses, but yours is the best I have seen and purchased so far in terms of clarity for a beginner With many thanks Balcar.

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

    Excellent tutorial. Detailed but concise, no waffle. And useful 'addendum' notes. Thank you.

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

    So glad to see you're still making videos! Love your teaching style

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

    This is THE series, I am just going to wait for part 2 and do something else in my game while you make the video about AI because i really liked this one

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

    You are back! Thank you

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

    You have made learning Godot so easy! Thank you for your videos tutorials, they're amazing! (Also love the DevLog and the game update! Looking forward to more of those!)

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

    Quite literally just started doing this moments ago!!

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

    Orange + cab!!!!! I see your guitar as well....nice, I didn't even know you played...

  • @ThatCoderDrew
    @ThatCoderDrew 18 วันที่ผ่านมา +1

    CAN YOU DO ONE FOR JUMPING literally HAVE NO CLUE HOW TO DO THAT

  • @kritik_mb2144
    @kritik_mb2144 3 หลายเดือนก่อน +4

    Can I request a tutorial where you show us how to make enemy movement smooth and not snap to navigation path like it is shown in this video?

    • @BramwellWilliams
      @BramwellWilliams  3 หลายเดือนก่อน +1

      The main thing you're going to want is a move_toward or lerp function in the NPC script when setting the velocity - something like:
      ```
      velocity = velocity.move_toward(velocity_target, 10.0* delta)
      ```

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

      @@BramwellWilliams I tried lerping before, it didn't work like I wanted it to and I saw Sebastian Lague do some complex stuff to smooth out the navigation path so, I thought I was missing something.

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

      There's settings in the navigation agent that sets how close it gets to the target and path. The target is the end point and the path is each point along the path. If you loosen the requirement along the path your character should move more smoothly.

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

    Great tutorial man AWESOME.
    Qurestion how can I do a SHADOW in the place for to know where am I ??? Like Super Mario 3D Land for the 3Ds (please se 2 minutes of game play)
    Thank you for this GREAT WORK

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

    I would love a tutorial on first person 3D Ladders, if that hasn't been done before

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

    Does your course on itch consist of step by step videos or is it text-based?

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

      All text based - there are a few free chapters for download if you want a feel for what the guides are like 😊

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

    Very good video, but could you do "the same thing", just with Terrain3D ground instead of these CSGBoxes? I want to make an NPC following me ( the player ) but its a bit complicated with Terrain3D.... That would be wonderful!

  • @Devlopergabut
    @Devlopergabut 11 วันที่ผ่านมา

    Hello bro, I'm here to ask how to make the NPC move randomly without clicking the space button because it's very complicated if we use the player.

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

    Hi! Is there a course for complete beginners who want to become an indie game developer using the Godot Engine 4? Please tell.

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

    Can you make tutorial for how i make horror game?

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

    love u bby boy