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

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 152

  • @KeelanJon
    @KeelanJon 7 місяців тому +63

    As a Blender artist the Open Source design of Godot has really peaked my interest in Game dev. Thank you for this great series.

    • @WeirdBrainGoo
      @WeirdBrainGoo 6 місяців тому +2

      *piqued

    • @KeelanJon
      @KeelanJon 6 місяців тому +4

      @@WeirdBrainGoo Thank you for your contribution.

    • @WeirdBrainGoo
      @WeirdBrainGoo 4 місяці тому +1

      @@KeelanJon 😁

  • @ollievendor7413
    @ollievendor7413 9 місяців тому +63

    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.

  • @hermandarr6274
    @hermandarr6274 Рік тому +59

    In Unity, My go to teacher was Jimmy Vegas, In Godot its you. Thank you for all your videos.

    • @keithfay9328
      @keithfay9328 Рік тому +1

      yeah, too bad jimmy stopped doing tutorials, he was good

  • @pepperVenge
    @pepperVenge 2 дні тому +1

    These tutorials are where I'm going to be spending the next few months of my life.

    • @BornCG
      @BornCG  2 дні тому +1

      👋 welcome!

  • @Mytif_or_mytiph
    @Mytif_or_mytiph 7 місяців тому +31

    i never been so happy to watch a box fall

  • @NaitBell
    @NaitBell 22 дні тому +1

    im a few minutes in and you sir, you are a very good educator and I thank you very much. Much health to you.

  • @dightrox
    @dightrox 10 місяців тому +8

    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!!!

  • @thejoeblowshow
    @thejoeblowshow 4 місяці тому +1

    Yes! There are some, like you, sir, who are "natural born teachers." Thank you for such a fantastic and easy to follow tutorial series.

  • @ZealotPara
    @ZealotPara 3 місяці тому +1

    This is a lot of fun! Before watching the next tutorial, I wanted to play around more with what I learned here, and I even figured out on my own how to add proper collision to prism shapes! It's so satisfying seeing them fall and land in a natural looking way for their shape.
    I just randomly today decided I wanted to learn game dev, which I've never considered before because I never thought I was smart enough, but this tutorial series has been amazing so far. Thank you for sharing your knowledge!

  • @bonnymich
    @bonnymich 3 місяці тому +1

    i think i found one of the good series for godot online in youtube thanks mate so nice of ya appreciate it😄

  • @aliqzakry834
    @aliqzakry834 3 місяці тому +1

    This is great! You are really good at explaining things thoroughly. You are doing god's work sir!

  • @zzzzzzzzzzzzzzzzzzzzz-z1n
    @zzzzzzzzzzzzzzzzzzzzz-z1n Рік тому +19

    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  Рік тому +2

      Great to hear!

  • @captainclamboat
    @captainclamboat 9 місяців тому +1

    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!

  • @thefatcatneverdies
    @thefatcatneverdies Рік тому +7

    Fantastic tutorial!
    I eagerly await the next in this series :)

  • @ebooooooy4249
    @ebooooooy4249 Рік тому +5

    This is really good, please post more often. Finally gonna learn some 3D Godot

  • @ClintCarlson
    @ClintCarlson Рік тому +8

    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 Рік тому +1

      hi what other tuts would you recommend after finishing this one?

  • @ElmerFleischmann
    @ElmerFleischmann Рік тому +5

    Great! can't wait for the next one, really looking forward to the finished product, 😊

  • @Oyyou
    @Oyyou 6 місяців тому

    Great tutorial. Takes me a lot to sit down and actually watch a series these days so I hope I make it through this!
    I appreciate the time you've spend making this :)

  • @ashok47ksaharan47
    @ashok47ksaharan47 Рік тому +1

    U are best teacher in the world i learned blender from you and now godot. Thanku thanku so so muchhh ❤❤❤❤

  • @lucasguzzi9329
    @lucasguzzi9329 Рік тому +5

    very good tutorial! can't wait for the next one!

  • @CentDev
    @CentDev Рік тому +3

    Thank you for doing this. I am waiting for the next.

  • @Finoandtherest
    @Finoandtherest Рік тому +3

    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 :)

  • @tompom1144
    @tompom1144 Рік тому +3

    Going to need the next episode asap, eager to learn more!

    • @BornCG
      @BornCG  Рік тому

      Lesson #3 is up!: ua-cam.com/video/T_7ob1zAjLo/v-deo.html

  • @Ghostpants446
    @Ghostpants446 6 місяців тому +1

    Holy crap man you're such a good teacher thank you!

  • @hipojoe
    @hipojoe Рік тому

    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!

  • @Creationkitnz
    @Creationkitnz Рік тому +1

    This is the first time I've seen your videos man and already hooked with that intro! 🔥🤣

    • @BornCG
      @BornCG  Рік тому

      Thanks! ☺️

  • @WeirdBrainGoo
    @WeirdBrainGoo 6 місяців тому

    This tutorial series seems great for kids and teens who want to learn game development. I like your style of teaching, making sure everything is clear and easy to follow along.
    Personally I think calling it the box's boundary sounds more intuitive than force field, but maybe that's just me.
    I tried what happens if you try to enter the scene as a child of itself, at least in Godot 4 you just get a warning and it won't let you do that. :P

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

    Even though i have godot in my android, this playlist helped me to navigate my way into godot, thanks, BornCG.

  • @kenmaia
    @kenmaia Рік тому +2

    Great video! Keep up the good work😁

  • @Mihimal
    @Mihimal 11 місяців тому +2

    I like your kindful voice tone 🥰

    • @BornCG
      @BornCG  11 місяців тому

      ☺️

  • @mavinpo
    @mavinpo 5 місяців тому

    Dude. I struggled learning c# coding for unity to make games. It was a real turn off. Your videos are so user friendly and showcase how EASY Godot is, it's really inspirational to make games again. Live the series so far. Please don't stop. You're a good teacher.

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

      You can use Godot's built-in language. It's very similar to Python and is much easier to use compared to C# for someone who has never done any programming.

  • @thatcardiologist3874
    @thatcardiologist3874 Рік тому +3

    Amazing tutorial! I’m following along to learn Godot

  • @MrBear-mk2mg
    @MrBear-mk2mg Рік тому

    Thanks i dont found a teacher better than you 🎉🎉
    Pls part 3

  • @kenknudsen7478
    @kenknudsen7478 Рік тому +1

    Well done again, very well done!

  • @asthalis
    @asthalis Рік тому +1

    Thanks ! Can't wait for next videos

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

    You are a wonderful tutor. Thank you!

  • @yacineguer4231
    @yacineguer4231 Рік тому +1

    Many thanks🎉, Waiting for the next episode ❤❤

  • @jinenjipeke
    @jinenjipeke 4 місяці тому +2

    it is almost unsettling to see the blocks fall with physics in my scene, if I were a caveman I would definitely consider this magic

  • @VertiDOOM
    @VertiDOOM Рік тому

    I’ve been using godot for a while now, and I still just now learned physics was that easy. Damn.

  • @NobleAbsinthe
    @NobleAbsinthe Рік тому

    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...

  • @aulusdeek
    @aulusdeek 4 місяці тому

    You also can save the Block as a .res file and drag it from the FileSystem Dock on the Node3D Root Node.

  • @eisenspanigel67
    @eisenspanigel67 Рік тому +1

    Thats so simple. Nice.

  • @FOXTROT_3D
    @FOXTROT_3D 9 місяців тому +1

    Amazing video tutorials!

  • @profcelsofontes
    @profcelsofontes 4 місяці тому

    the mesh menu (top center) + create trimesh static body options is the fastest way to add collision

  • @timothyn4699
    @timothyn4699 5 місяців тому

    that grouping "don't allow selection of child nodes" is handy 12:37

  • @lagpostg.r.y9955
    @lagpostg.r.y9955 10 місяців тому

    I BEEN TRYING TO FIGURE OUT HOW TO MAKE AOLID GROUND FOR A LONG TIME THANK YOU SO MUCH

  • @inyagi3107
    @inyagi3107 10 місяців тому

    Hi at 6:46 you click the drop down arrow but for me nothing comes up :(

  • @TextoAmarillo
    @TextoAmarillo Рік тому +1

    Thanks 💙

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

    22:30 This feels like a challenge. Put a scene inside itself.

  • @Shiromaru.
    @Shiromaru. 8 місяців тому

    u r legend, thx a lot

  • @martinchudoba6945
    @martinchudoba6945 Рік тому +1

    Fantastic

  • @StacieButler-h1n
    @StacieButler-h1n 9 місяців тому

    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. :(

    • @Strivarn
      @Strivarn 6 місяців тому +1

      Change your camera position

  • @VivianAblivian
    @VivianAblivian 4 місяці тому

    There's some stuff in here that helped me fix some very basic but very annoying problems I've been having with making 2D games in Godot. For example: I didn't know that "Group Selected Nodes" button was a thing, or rather, I knew it was there I just never bothered to figure out what it does.

  • @lukeomatik
    @lukeomatik 8 місяців тому

    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

  • @MrXlee1967
    @MrXlee1967 Рік тому +1

    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

  • @exoZelia
    @exoZelia Місяць тому

    All 7 dislikes are from former students with personal beef

  • @jacobthomas1688
    @jacobthomas1688 8 місяців тому

    for some reason, the boxmesh isn't appearing. I added the meshinstace3d node and chose boxmesh properly but nothing happened

  • @learningconfe
    @learningconfe Рік тому

    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

  • @noob0168
    @noob0168 5 місяців тому

    Why can't I create collision same size with the mesh there is an error to it

  • @samvisser9408
    @samvisser9408 4 місяці тому

    Hi, great video! I'm having problems playing a scene though - whenever i try to i get a pop-up saying: could not start subprocess(es)! Any ideas on how to fix this?

  • @departuream1440
    @departuream1440 6 місяців тому

    For the floor, why did you choose a cube instead of a world boundary collider and plane mesh?

  • @Stoodknight
    @Stoodknight 2 години тому

    why does my block keep falling through the floor?

  • @Stark_Ibrahim
    @Stark_Ibrahim Рік тому +1

    I want to learn how to change the player's path when I move the mouse. Can you do a lesson?❤

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

    i need help with something, when i drop the cubes in the scene they just go through the floor like it’s not there

  • @kantinero37
    @kantinero37 4 місяці тому

    Whats the difference of change a meshinstance3d scale via its resource or the transform at inspector window? or is the same?

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

    Anyone know what camera position and rotation I should use to see the floor?
    Currently I have:
    Position: 2, 0, 5
    Rotation: 45, 0, 0
    Scale: 1, 1, 1

  • @sporeolegy
    @sporeolegy 11 місяців тому +1

    Wow! coming from unreal, godot 4 seems so much more intuitive and not at as clunky.

  • @quintinwood4397
    @quintinwood4397 18 днів тому

    If you drag a scene from your file dock directly in your node tree, it will instantiate it.

  • @izuna9815
    @izuna9815 10 місяців тому

    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?

  • @Punkerobmx
    @Punkerobmx Рік тому +1

    I really like yours video are amazing

  • @digniii9477
    @digniii9477 3 місяці тому

    the option "new boxmesh" doesn´t appear for me

  • @thatcardiologist3874
    @thatcardiologist3874 Рік тому +1

    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 Рік тому

      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 Рік тому +1

      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.

  • @tinyrandomthings
    @tinyrandomthings Рік тому +1

    what is the idea behind having separated collision shape and the object/the shape?

    • @BornCG
      @BornCG  Рік тому +1

      Modularity. The collision shape is a component that appears in different types of objects: static bodies, character bodies, rigid bodies, etc.

    • @tinyrandomthings
      @tinyrandomthings Рік тому

      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 Рік тому

      Appreciate, sir!

  • @what-err0rs
    @what-err0rs 2 місяці тому

    The collision isnt allowing me to resize it. (Please make its scale uniform error) after typing the # on the axis and also manually moving it and typing it on the axis. Still an error

    • @what-err0rs
      @what-err0rs 2 місяці тому

      Im not making a platform fighter anyway, but I'd like to have a ground to walk on XD

  • @majesticchicken3213
    @majesticchicken3213 Рік тому

    Finally❤

  • @davidterry1801
    @davidterry1801 Рік тому

    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?

  • @NandaRiziq
    @NandaRiziq Рік тому +1

    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  Рік тому +1

      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  Рік тому +1

      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. 🤷🏼‍♂️🙃

  • @diggiilife8596
    @diggiilife8596 3 місяці тому

    i am having an issue and i cant figure out how to fix it, when ever i set the mesh of the MeshInstance3D to the cube it becomes REALLY huge, unworkably huge, and Godot says its 1x1x1, i dont know what to do

    • @mannylight4280
      @mannylight4280 Місяць тому

      zoom out. it starts you pretty close up

    • @diggiilife8596
      @diggiilife8596 Місяць тому

      @mannylight4280 I did, but I had to increase camera speed, which wasn't fast enough to easily move

  • @PaintedCrow-tu7up
    @PaintedCrow-tu7up 3 місяці тому

    so for some reason my block is falling but it wont tumble or interact with anything else. i just have a stack of shapes that shouldnt be able to stack. what am i missing cuz i followed your instructions to the letter.

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

      i had the same issue but look at your attachments and check and make sure that collision shape 3d is the child of the floor not meshindtance

  • @f3b
    @f3b 10 місяців тому

    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 ?

  • @Bomba_Game
    @Bomba_Game 8 місяців тому

    27:24 its an actuall smooth quarts slab

  • @Glimmer11
    @Glimmer11 5 місяців тому

    Could anyone explain to me why we need to create a new scene to add gravity to object?

    • @BornCG
      @BornCG  5 місяців тому

      You make each object as its own scene so that you can make instances of it (copies), not so that gravity can be added to each one.

  • @louptreize
    @louptreize Рік тому

    thx for videos, why don't you resize the staticbody3d directly instead of resizing mesh then collision (for the floor for example) ?

    • @BornCG
      @BornCG  Рік тому +1

      That's correct! In fact, way least in prior versions of Godot, scaling the physics body directly would cause issues apparently.

  • @ayusharyal6346
    @ayusharyal6346 5 місяців тому

    I'm using Godot 4.2 but I dont see the box in perpective window. What could be the issue ?

    • @schnasndasn1504
      @schnasndasn1504 3 місяці тому

      I have the same problem with 4.3. Did you find a fix?

    • @ayusharyal6346
      @ayusharyal6346 3 місяці тому

      @@schnasndasn1504 x,y,z dimensions are zero by default. Try making that higher. It shows up. If not we will debug 😛

    • @schnasndasn1504
      @schnasndasn1504 3 місяці тому

      @@ayusharyal6346 Thx! For me it was the camera that was still zeroed out :)

  • @ningyi5727
    @ningyi5727 Рік тому +1

    why not a plane mesh?

    • @BornCG
      @BornCG  Рік тому +1

      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.

  • @byucknahthered3914
    @byucknahthered3914 10 місяців тому

    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.

  • @davestomper3428
    @davestomper3428 Рік тому

    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  Рік тому

      You could, though directional lights extend automatically through the entire world already, like a sun.

  • @alkeshnayak2072
    @alkeshnayak2072 Рік тому

    I can't see my scene?

  • @TheTrue_Burger
    @TheTrue_Burger Рік тому

    How would I make this in first person? btw, I love your tutorials!

  • @Rock_yeah
    @Rock_yeah Рік тому

    Something that i noticed is that theres no random factor its always fall the same way

  • @prestidentstinkbug
    @prestidentstinkbug 3 місяці тому

    one of my boxes is going through the ground😢

  • @Atomic_Aegis45
    @Atomic_Aegis45 5 місяців тому

    Found something by accident. If you hold right click you can look around like a player in a video game.

  • @Mythikal13
    @Mythikal13 Місяць тому

    made two cubes fall, this is huge guys

    • @BornCG
      @BornCG  Місяць тому

      🤯🥳🙏

  • @mrtwinky0v034
    @mrtwinky0v034 10 місяців тому

    wish i found this. the older version that was made 4yrs ago was so hard for me to follow becouse thay changed every thing

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

    i can't get it

  • @mcNopeFace
    @mcNopeFace Рік тому +1

    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

  • @Rare.99
    @Rare.99 4 місяці тому +1

    block falls successfully
    me: 😊

  • @pizzaisdavid
    @pizzaisdavid 7 днів тому

    My camera is tilted

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

  • @exoZelia
    @exoZelia Місяць тому +1

    Can't believe they're doing game dev in high school now. Jealous.