Тёмный

Godot 4 3D Platformer Lesson #2: Solid Objects & Physics Simulation! 

BornCG
Подписаться 182 тыс.
Просмотров 39 тыс.
50% 1

In this Godot 4 Lesson I cover the basics of Adding Simple Solid Objects (a Floor, and Blocks), Creating Reusable Objects that can be instanced, and running a Physics Simulation (to make the blocks fall and tumble in-game) in the game. Thanks for watching! Here are the video chapter timecode links:
- 0:00 - Video Intro
- 0:07 - Lesson Outline (what's in this lesson)
- 0:47 - Opening & Importing a Project into the Project Manager
- 1:54 - Creating a Floor using 3 Nodes (Static Body 3D / Mesh Instance / Collision Shape 3D)
- 12:27 - Grouping Nodes of an Object Together
- 14:19 - Disabling Editor Environment & Lighting
- 14:48 - Adding a 3D Light Object / Node
- 16:37 - Creating a Reusable Block Object as its own scene.
- 22:05 - Adding Block Instances to the Game Level Scene
- 26:03 - Recap / Summary
- 26:56 - Changing / Updating All Block Instances
- 27:32 - Wrap-Up & Outro
Don't forget to LIKE & SUBSCRIBE! 🥰 👍
*note: In this video I use Godot 4.0.1
#godotengine #gamedev
Play and Download the Finished 3D Platformer Game Online Now!: borncg.itch.io/3d-platformer-... (use: Chrome/Edge/Firefox to play the web game version)
*****************
DONATE to support my channel via PayPal: goo.gl/ThkwyG
********************************
LIKE and FOLLOW me on:
FACEBOOK: / borncg
INSTAGRAM: / born.cg
X / TWITTER: / borncg
Reddit: / borncg
**********************************
Visit this Godot 4 Beginners: 3D Platformer Course playlist!:
• Godot 4 Beginners: Lea...
Visit my Let's Learn Blender! Tutorial Series playlist:
• Let's Learn Blender!
****************
Nicolas from the band 'The Lazy Saviours' created my Intro Jingle!
****************

Опубликовано:

 

8 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 82   
@hermandarr6274
@hermandarr6274 7 месяцев назад
In Unity, My go to teacher was Jimmy Vegas, In Godot its you. Thank you for all your videos.
@keithfay9328
@keithfay9328 7 месяцев назад
yeah, too bad jimmy stopped doing tutorials, he was good
@ollievendor7413
@ollievendor7413 Месяц назад
i feel like a kid again. if i had a teacher like this in school i would have done much better. :D learning feels fun with these tutorials.
@thefatcatneverdies
@thefatcatneverdies 7 месяцев назад
Fantastic tutorial! I eagerly await the next in this series :)
@lucasguzzi9329
@lucasguzzi9329 7 месяцев назад
very good tutorial! can't wait for the next one!
@user-wo6jf2to9z
@user-wo6jf2to9z 7 месяцев назад
Great! can't wait for the next one, really looking forward to the finished product, 😊
@gofudgeyourselves9024
@gofudgeyourselves9024 7 месяцев назад
Hands down, you're the best teacher I've ever had the privilege of learning from. Your passion, dedication, and ability to explain complex topics in a simple and engaging way are truly remarkable. Thank you for making learning such an incredible journey!"📚👏🏆
@BornCG
@BornCG 7 месяцев назад
☺️
@ebooooooy4249
@ebooooooy4249 7 месяцев назад
This is really good, please post more often. Finally gonna learn some 3D Godot
@CentDev
@CentDev 7 месяцев назад
Thank you for doing this. I am waiting for the next.
@kenknudsen7478
@kenknudsen7478 7 месяцев назад
Well done again, very well done!
@dightrox
@dightrox 2 месяца назад
Omg I'm so glad I found this. I was trying to make a game right into unreal, but this is so much easier and user friendly and you just make it SO easy to understand and follow along. I'm only on the 2nd video and I feel confident and want to learn more! THANK YOU!! for the time you put into these vids to help others. WE APPRECIATE YOU!!!
@kenmaia
@kenmaia 7 месяцев назад
Great video! Keep up the good work😁
@asthalis
@asthalis 7 месяцев назад
Thanks ! Can't wait for next videos
@captainclamboat
@captainclamboat Месяц назад
Okay, after this second lesson I'm grinning. It's exciting to see the technical stuff turn into physics objects! Looking forward to the rest of this series!
@yacineguer4231
@yacineguer4231 7 месяцев назад
Many thanks🎉, Waiting for the next episode ❤❤
@ClintCarlson
@ClintCarlson 7 месяцев назад
Amazing teaching. I've been doing other tutorials but love this series highlighting the little tips and hints along the way. thank you!
@MrXlee1967
@MrXlee1967 5 месяцев назад
hi what other tuts would you recommend after finishing this one?
@thatcardiologist3874
@thatcardiologist3874 7 месяцев назад
Amazing tutorial! I’m following along to learn Godot
@FOXTROT_3D
@FOXTROT_3D Месяц назад
Amazing video tutorials!
@eisenspanigel67
@eisenspanigel67 7 месяцев назад
Thats so simple. Nice.
@Creationkitnz
@Creationkitnz 7 месяцев назад
This is the first time I've seen your videos man and already hooked with that intro! 🔥🤣
@BornCG
@BornCG 7 месяцев назад
Thanks! ☺️
@tompom1144
@tompom1144 7 месяцев назад
Going to need the next episode asap, eager to learn more!
@BornCG
@BornCG 7 месяцев назад
Lesson #3 is up!: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-T_7ob1zAjLo.html
@hipojoe
@hipojoe 6 месяцев назад
Thank you so very much! I am using Godot based on your videos to create a terrain generator for my work. SO MUCH EASIER (and nicer) than making my own engine, which I have been doing for years!
@martinchudoba6945
@martinchudoba6945 7 месяцев назад
Fantastic
@MakutaOfficial
@MakutaOfficial 7 месяцев назад
FIRST LETS GOOOO! Your tutorials helped me get into Godot, now I'm 3 years into it and have learned so much, now I just have to finish a game, lol.
@BornCG
@BornCG 7 месяцев назад
Great to hear!
@TextoAmarillo
@TextoAmarillo 7 месяцев назад
Thanks 💙
@MrBear-mk2mg
@MrBear-mk2mg 7 месяцев назад
Thanks i dont found a teacher better than you 🎉🎉 Pls part 3
@ashok47ksaharan47
@ashok47ksaharan47 7 месяцев назад
U are best teacher in the world i learned blender from you and now godot. Thanku thanku so so muchhh ❤❤❤❤
@NotDawcik
@NotDawcik 6 месяцев назад
Even, if brackleys will come back as he said, and learn godot, i will still watch yoir tutorials. When i m watching it i can understand everything. Thanks for your turorials :)
@Shiromaru.
@Shiromaru. 4 дня назад
u r legend, thx a lot
@majesticchicken3213
@majesticchicken3213 7 месяцев назад
Finally❤
@user-rk4ms4dk4x
@user-rk4ms4dk4x 2 месяца назад
amazing
@Vertigo97
@Vertigo97 5 месяцев назад
I’ve been using godot for a while now, and I still just now learned physics was that easy. Damn.
@lagpostg.r.y9955
@lagpostg.r.y9955 2 месяца назад
I BEEN TRYING TO FIGURE OUT HOW TO MAKE AOLID GROUND FOR A LONG TIME THANK YOU SO MUCH
@Punkerobmx
@Punkerobmx 6 месяцев назад
I really like yours video are amazing
@BornCG
@BornCG 6 месяцев назад
😊
@Mihimal
@Mihimal 3 месяца назад
I like your kindful voice tone 🥰
@BornCG
@BornCG 3 месяца назад
☺️
@f3b
@f3b 2 месяца назад
Again, amazing tutorial, very UpToDate to the current version. I was wondering is there a possibility to automatically match the collision size into the mesh itself ?
@starkibrahim3753
@starkibrahim3753 7 месяцев назад
I want to learn how to change the player's path when I move the mouse. Can you do a lesson?❤
@sporeolegy
@sporeolegy 3 месяца назад
Wow! coming from unreal, godot 4 seems so much more intuitive and not at as clunky.
@NandaRiziq
@NandaRiziq 7 месяцев назад
awesome tutorials! just wondering will you be making 2d godot 4.x tutorial soon? i want to learn 2d in godot but i dont know if your godot 3.5 tutorial knowledge is transferable to godot 4
@BornCG
@BornCG 7 месяцев назад
A lot (most) of the knowledge from my previous Godot 3.5 tutorial series is transferable, though they changed the names of a few nodes, and some GDScript code has changed slightly, enough to be a barrier to people just starting out programming unfortunately.
@BornCG
@BornCG 7 месяцев назад
Thanks! ☺️. .. this course, my full time teaching, and life, are going to keep me busy through to the new year (there are 24 more lessons to edit and post, 26 in all) .. there will be another course after this one ... I have barely just started thinking about that at this point. 🤷🏼‍♂️🙃
@louptreize
@louptreize 7 месяцев назад
thx for videos, why don't you resize the staticbody3d directly instead of resizing mesh then collision (for the floor for example) ?
@BornCG
@BornCG 7 месяцев назад
That's correct! In fact, way least in prior versions of Godot, scaling the physics body directly would cause issues apparently.
@davidterry1801
@davidterry1801 4 месяца назад
Hi! I don't know if you are still taking questions on a 3 month old video, but I noticed that with the CollisionShape3D, you can scale the size of the box either by changing the size of the shape as you showed, but also by using the transform section lower down in the inspector to adjust the scale. They seem to arrive at the same result, but is there a difference between the two?
@davestomper3428
@davestomper3428 6 месяцев назад
This is a great series I really like the attentions to every little detail one question for you is if I am making a 3d platformer scrolling can I just attach the Light node to the camera Then position the way I want my light and let it follow the light throughout the game?? this way I am done with lighting unless I need a special light color or something.
@BornCG
@BornCG 6 месяцев назад
You could, though directional lights extend automatically through the entire world already, like a sun.
@byucknahthered3914
@byucknahthered3914 2 месяца назад
May I give a suggestion? You mentioned you are a High School teacher, right? I am assuming when teaching a class you show how to do something then provide an exercise so that students can practice what they just learned. I mention this because one of the more well known Godot tutorials for 2d games does this. They teach you how to use the features then give you an exercise, asking you to pause the video and try on your own as best you can, then when you un-pause they quickly go through the process which reinforces if you understood the steps -or- so you can see where you might have messed up. Early on this stuff is super simple but as things get more complex it's kinda handy to have exercises. For example, you could have made an exercise saying "Go ahead and try to make a new scene for another falling object, but this time try to make a sphere instead of a cube and add it to the level scene. Pause the video now and go ahead and try." which would give the viewers a chance to try and put what they just learned to the test but also changing it ever so slightly (Sphere instead of Cube) so they have to experiment a little while not fully alienating what they have been taught. Just my two bits of criticism, the videos are awesome and very well done/educational but I think giving exercises at the end of each lesson might help cement how to do things in a persons head.
@lukeomatik
@lukeomatik 24 дня назад
Low effort question: since I don't know what is the correct definition of `scene` in godot context (i will look at it asap), not considering the re-usability of the assets, what is the difference between (A) creating the "falling cube" in another scene then link it to the main scene (like you did) and (B) creating a RigidBody3D with MeshInstance3D & CollisionShape3D directly into the main scene ? and again: not considering the re-usability of the falling cube asset
@thatcardiologist3874
@thatcardiologist3874 7 месяцев назад
So I've played around with both Unity and Godot, learning the basics of each. I'm kind of torn between the two though.. I love Godot's clean interface and it seems a lot less cluttered than Unity's. However, some things seem unnecessarily complex in Godot. For example, you have to create a StaticBody3d, a CollisionObject3d, and a MeshInstance3d all to create a simple cube.. In Unity you just add a cube. Even adding a color to the cube seems oddly complex. The coding also seems more complex in Godot. For instance if you want to detect if the mouse touches a gameObject in Unity, there is a built in function and it's super easy. However, despite making numerous google searches on how to do it in Godot, I still don't know how to do it.... Which should I choose???
@AeroAndZero
@AeroAndZero 7 месяцев назад
It depends on what are you targeting in the future. For example, if you want to work in a AAA company with a big team then you should definitely learn Unity as it has industry level tools. However, if you want to make a living out of being a indie game dev then you are free to choose godot as it will cut down many costs. Learning both's basics will definitely be useful in the future. I would recommend trying out both as you are just a beginner. Try to make a simple project in both and see which one works out for you :)
@ravenanne1734
@ravenanne1734 5 месяцев назад
I know this is a month old, but some people may still see this so I wanted to clarfy, the way he does it here is more complicated than usual! There are shortcuts already built in Godot that he doesn't mention, probably to avoid confusing people. You can just make a shape using a MeshInstance3D and there's a button at the top middle of the viewport called "Mesh" that lets you give it a collision shape automatically, and a StaticBody3D if that's the option you pick. It's automatically the shape and size you need it to be so it's really convenient. It's designed to be modular; if everything is made up of smaller things, it's easier to customise and mess around with. I'm not sure exactly what you mean by "detect if the mouse touches a gameObject" but it probably does exist in Godot, just under an awkward name. The main problem I've had with Godot so far is that because it's so new, the resources are scarce. The stuff exists, just not described how you might like, and with keywords that won't show up when searching for your specific problem. I've personally been finding vaguely related things, learning them, asking Chatgpt for more information, and then seeing how that pans out.
@MrXlee1967
@MrXlee1967 5 месяцев назад
With "CollisionShape3D" can I not just link it to a mesh and it auto resize to the mesh? is there a way of doing this? thank you
@mrtwinky0v034
@mrtwinky0v034 2 месяца назад
wish i found this. the older version that was made 4yrs ago was so hard for me to follow becouse thay changed every thing
@TheTrue_Burger
@TheTrue_Burger 6 месяцев назад
How would I make this in first person? btw, I love your tutorials!
@learningconfe
@learningconfe 6 месяцев назад
shadows are not supported when using the gl compatibility backend yet support will be added in future release in godot any help withe would help
@Bomba_Game
@Bomba_Game 15 дней назад
27:24 its an actuall smooth quarts slab
@NobleAbsinthe
@NobleAbsinthe 6 месяцев назад
I'm at 19:53 what would be the issue if we made Rigidbody3D a child of a 3D scene node like in level 1. We make a new scene, start with 3D node and then have the Rigidbody3D as a child. As we can see it already is in the menu, so why do we start the root node as a RigidBody3D? I think it would semantically be the same...
@tinyrandomthings
@tinyrandomthings 7 месяцев назад
what is the idea behind having separated collision shape and the object/the shape?
@BornCG
@BornCG 7 месяцев назад
Modularity. The collision shape is a component that appears in different types of objects: static bodies, character bodies, rigid bodies, etc.
@tinyrandomthings
@tinyrandomthings 6 месяцев назад
Oh, got it. That will make the code base much more efficient and neat. Different shapes may just have the same collision mechanism.
@tinyrandomthings
@tinyrandomthings 6 месяцев назад
Appreciate, sir!
@user-eq6qj4zc7n
@user-eq6qj4zc7n Месяц назад
When I play the current scene after adding the floor (around time stamp 14:20), it is just gray and empty. It doesn't look like yours. :(
@jacobthomas1688
@jacobthomas1688 10 дней назад
for some reason, the boxmesh isn't appearing. I added the meshinstace3d node and chose boxmesh properly but nothing happened
@izuna9815
@izuna9815 2 месяца назад
my directional3dlight has a warning it says "A light's scale does not affect the actual visual size of light", I'm pretty sure that I followed your amazing tutorial correctly, but what do I do to remove this?
@LoneWolfGamer666
@LoneWolfGamer666 Месяц назад
Just put the scale of your light to 1, 1, 1
@Rock_yeah
@Rock_yeah 5 месяцев назад
Something that i noticed is that theres no random factor its always fall the same way
@inyagi3107
@inyagi3107 2 месяца назад
Hi at 6:46 you click the drop down arrow but for me nothing comes up :(
@alkeshnayak2072
@alkeshnayak2072 7 месяцев назад
I can't see my scene?
@ningyi5727
@ningyi5727 4 месяца назад
why not a plane mesh?
@BornCG
@BornCG 4 месяца назад
Later in this project our level will be made of blocks that are easy to ‘paint’, so I just kept it simple and consistent in this earlier lesson. You could use a plain mesh with a block collision shape with its top just matching the plain.
@florianlugmayr7476
@florianlugmayr7476 5 месяцев назад
bro, just make your floor tile 2 units high and translate it to y=-1 all the things you put on top will have y=0
@user-th7gd7ge4p
@user-th7gd7ge4p 2 месяца назад
I like there's no crap audio tune mixed over your voice and no "hey wozzups bros uhms ers" but you could also leave out the "alrights" & "okays" and constant dancing with the mouse cursor around the screen. it would also help if you could focus on proper pronounciation and also just cut straight to the cheese - leave out all the "beating around the bush" clutter. I do appreciate you need to accumulate some watch time for monetisation purposes but I find it really annoying. in any case all the best with your endeavours and thanks for this series.
@MidvightMirage
@MidvightMirage Месяц назад
bro wtf it just randomly deleted my stuff wtf is this trash
@haruu.010
@haruu.010 24 дня назад
you just have to save the scene from time to time in "scene"
@BroYousuck-hu7rp
@BroYousuck-hu7rp 4 месяца назад
10:51
Далее
didn't want to let me in #tiktok
00:20
Просмотров 1,5 млн
This Problem Changes Your Perspective On Game Dev
25:51
I Made the Same Game in 8 Engines
12:34
Просмотров 3,7 млн
Giving Personality to Procedural Animations using Math
15:30
How to Code (almost) Any Feature
9:48
Просмотров 622 тыс.
Godot 4 3D Platformer Lesson #1: Let's Get Started!
22:56
When Optimisations Work, But for the Wrong Reasons
22:19
Твоя первая игра на Godot
1:34:34
Просмотров 51 тыс.
Godot 4 - Tiled Dungeon Environment From Scratch
26:24
Просмотров 356 тыс.