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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ค. 2024
  • 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!
    ****************

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

  • @KeelanJon
    @KeelanJon 10 วันที่ผ่านมา +4

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

  • @ollievendor7413
    @ollievendor7413 หลายเดือนก่อน +12

    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 8 หลายเดือนก่อน +41

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

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

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

  • @dightrox
    @dightrox 2 หลายเดือนก่อน +4

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

  • @thefatcatneverdies
    @thefatcatneverdies 8 หลายเดือนก่อน +5

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

  • @user-wo6jf2to9z
    @user-wo6jf2to9z 8 หลายเดือนก่อน +4

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

  • @MakutaOfficial
    @MakutaOfficial 8 หลายเดือนก่อน +10

    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  8 หลายเดือนก่อน

      Great to hear!

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 8 หลายเดือนก่อน +14

    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  8 หลายเดือนก่อน +1

      ☺️

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

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

  • @ClintCarlson
    @ClintCarlson 8 หลายเดือนก่อน +6

    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 หลายเดือนก่อน +1

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

  • @captainclamboat
    @captainclamboat หลายเดือนก่อน +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!

  • @lucasguzzi9329
    @lucasguzzi9329 8 หลายเดือนก่อน +4

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

  • @Firepotz
    @Firepotz 9 วันที่ผ่านมา +1

    You are a wonderful tutor. Thank you!

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

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

  • @kenmaia
    @kenmaia 8 หลายเดือนก่อน +2

    Great video! Keep up the good work😁

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

    Amazing video tutorials!

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

    Well done again, very well done!

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

    Amazing tutorial! I’m following along to learn Godot

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

    Thanks ! Can't wait for next videos

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

    Many thanks🎉, Waiting for the next episode ❤❤

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

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

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

      Thanks! ☺️

  • @NotDawcik
    @NotDawcik 7 หลายเดือนก่อน +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 :)

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

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

  • @tompom1144
    @tompom1144 8 หลายเดือนก่อน +2

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

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

      Lesson #3 is up!: th-cam.com/video/T_7ob1zAjLo/w-d-xo.html

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

    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!

  • @MrBear-mk2mg
    @MrBear-mk2mg 8 หลายเดือนก่อน

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

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

    Thats so simple. Nice.

  • @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

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

    I like your kindful voice tone 🥰

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

      ☺️

  • @Shiromaru.
    @Shiromaru. 19 วันที่ผ่านมา

    u r legend, thx a lot

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

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

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

    Thanks 💙

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

    Fantastic

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

    I really like yours video are amazing

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

      😊

  • @user-rk4ms4dk4x
    @user-rk4ms4dk4x 2 หลายเดือนก่อน

    amazing

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

    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 ?

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

  • @NandaRiziq
    @NandaRiziq 8 หลายเดือนก่อน +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  8 หลายเดือนก่อน +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  8 หลายเดือนก่อน +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. 🤷🏼‍♂️🙃

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

    Finally❤

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

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

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

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

  • @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?

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

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

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

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

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

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

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

  • @MrXlee1967
    @MrXlee1967 6 หลายเดือนก่อน +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

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

    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

  • @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

  • @thatcardiologist3874
    @thatcardiologist3874 8 หลายเดือนก่อน +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 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 6 หลายเดือนก่อน +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.

  • @jacobthomas1688
    @jacobthomas1688 24 วันที่ผ่านมา

    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

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

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

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

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

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

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

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

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

      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 7 หลายเดือนก่อน

      Appreciate, sir!

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

    27:24 its an actuall smooth quarts slab

  • @TheDerekCrosson
    @TheDerekCrosson 8 วันที่ผ่านมา

    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

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

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

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

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

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

    I can't see my scene?

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

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

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

    why not a plane mesh?

    • @BornCG
      @BornCG  5 หลายเดือนก่อน +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.

  • @florianlugmayr7476
    @florianlugmayr7476 5 หลายเดือนก่อน +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

  • @user-th7gd7ge4p
    @user-th7gd7ge4p 3 หลายเดือนก่อน +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 2 หลายเดือนก่อน +1

    bro wtf it just randomly deleted my stuff wtf is this trash

    • @haruu.010
      @haruu.010 หลายเดือนก่อน +1

      you just have to save the scene from time to time in "scene"

  • @BroYousuck-hu7rp
    @BroYousuck-hu7rp 4 หลายเดือนก่อน

    10:51