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
PLEASE DONT STOP MAKING GODOT TUTORIALS
Why not 😅?
Agree
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.
Where did he say that he was going to stop making more tutorials?
Thank you for your guide! Please, don't stop making tutorials.
You are probably gifted, but certainly excellent, at tutorials. Glad to subscribe.
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!
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.
Excellent tutorial. Detailed but concise, no waffle. And useful 'addendum' notes. Thank you.
So glad to see you're still making videos! Love your teaching style
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
You are back! Thank you
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!)
Quite literally just started doing this moments ago!!
Orange + cab!!!!! I see your guitar as well....nice, I didn't even know you played...
CAN YOU DO ONE FOR JUMPING literally HAVE NO CLUE HOW TO DO THAT
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?
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)
```
@@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.
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.
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
I would love a tutorial on first person 3D Ladders, if that hasn't been done before
Does your course on itch consist of step by step videos or is it text-based?
All text based - there are a few free chapters for download if you want a feel for what the guides are like 😊
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!
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.
Hi! Is there a course for complete beginners who want to become an indie game developer using the Godot Engine 4? Please tell.
Can you make tutorial for how i make horror game?
love u bby boy