Godot Nodes Explained: 2D Joints

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

Комментарии • 127

  • @RedEyedJedi
    @RedEyedJedi 9 месяцев назад +21

    My favourite part of this video is when you did not try to make something up when you did not understand something fully. That is rare these days and I appreciate it.

  • @nemesisas14
    @nemesisas14 3 года назад +54

    Hill climb racing tutorial would be nice :)

  • @yukmsacierzorro
    @yukmsacierzorro 3 года назад +23

    I'm convinced your channel is gonna blow up! Keep up the good work, your tutorials are so concrete and concise! Thanks!

    • @LucyLavend
      @LucyLavend  3 года назад +2

      Thanks for the kind words!

  • @lukeyd13
    @lukeyd13 3 года назад +6

    Brilliant explanation, very clear and well paced. I really appreciate you not bullshitting us about the dampness property too, some instructors waffle when they don't understand something well and your approachis much prefferred

  • @stedunn563
    @stedunn563 3 года назад +42

    Wow this was a very well explained tutorial, keep going please, also I'd like a hill climb tutorial, I'm interested in how to apply forces to physic objects as i keep messing it up.

    • @LucyLavend
      @LucyLavend  3 года назад +10

      Glad it was helpful. For the car in the video I just increase the rotational force when a button is pressed. But I might make a video on going into detail on applying forces to rigidbodies, thanks for the idea.

    • @thomasparker7305
      @thomasparker7305 3 года назад

      @@LucyLavend I'm working on a game that uses a car in it and I can't quite figure out how to get the settings correct. From your example looks like you understand it a lot better, so if you did make a tutorial on the car it would help a lot of people I'm sure of it. It looked great.

    • @adiyogi5800
      @adiyogi5800 2 года назад

      @@LucyLavend can you please make a video on how to fix flickering,jitter and stutter in 2d games. Thankyou 😄

  • @Lukifah
    @Lukifah 3 года назад +2

    Everyday I discover more crazy stuff godot can do

  • @AleksandarPopovic
    @AleksandarPopovic 3 года назад +1

    Yes interest for making car tutorial in godot!!!!This is the one off the best Godot resurse on youtube, Good Job!!!!

  • @hcpdrummer
    @hcpdrummer 3 года назад +4

    A very clear and well explained tutorial. Bravo!

  • @Nayckron
    @Nayckron 3 года назад +3

    Very good tutorial, straight to the point, very visual and showing examples.

  • @bluespanda
    @bluespanda Год назад +2

    Hi, in the outro, how were you able to create the interactive chain using PinJoint2D and maintain the distance between the chain nodes (chain nodes not disconnected)? I tried to create a chain like this myself that follows the player, but whenever the player has any movement the parts of the chain doesn’t follow immediately and has a gap in between the them and can only catch up to the joint position when my player stops moving. How were you able a chain that doesn’t disconnect when it moves? Was there something particular that you did? Thank you.

  • @junton
    @junton 3 года назад +1

    Your tutorials are one of the most clear and best ones. Easy to follow and I feel like I am learning. Thanks!

  • @letusgo2148
    @letusgo2148 Год назад

    Everything I've searched for in godot I found it in this great channel.. thanks ❤

  • @aarimous2365
    @aarimous2365 2 года назад +2

    This was exactly what I was looking for! Cheers mate :)

  • @ianc.2012
    @ianc.2012 5 месяцев назад +1

    Thank you so much for this wonderfully explained video!

  • @yogurtroyale831
    @yogurtroyale831 Год назад +2

    i just wanna say i love how you don't flash memes and stuff on the screen like every other tutorial youtuber out there

  • @LordTeleman
    @LordTeleman 3 года назад +2

    Just found your channel, glad I did. Great video, espacially your presentation and the way the video is edited.

  • @stucktj
    @stucktj 2 года назад +1

    thanks for posting this, it's going to help a lot with my current project.

  • @bruns_tube
    @bruns_tube 3 года назад

    It’s destiny. I’ve been thinking on implementing this in my project for the past couple of days, and here it is. Thank you 👏🏻

  • @Crisisdarkness
    @Crisisdarkness 3 года назад +5

    Wow, estimated Lucy your channel is very unique, I liked the way you teach, and how you do the presentation, these nodes are very special, I did not know them, you did well to do a tutorial like this, I have subscribed and thank you for opening this channel

  • @amnesiophilia
    @amnesiophilia 9 месяцев назад +1

    This was SO good. Thank you for this wonderful tutorial!

  • @shadowyxpgames5506
    @shadowyxpgames5506 Год назад +1

    Thank you for this explanation, it was extremely useful for a new user of godot.

    • @LucyLavend
      @LucyLavend  Год назад

      Good to hear, glad it was useful to you

  • @woodenfences
    @woodenfences 6 месяцев назад +1

    Excellent presentation! Will search through your videos if you have one describing how you made those nice rolling hills.

  • @bigsmoke8344
    @bigsmoke8344 Год назад

    Thx for the tutorials i just moved from unity and this channel helped me alot

  • @capybaratech377
    @capybaratech377 2 года назад

    Thank you Mrs Lucy. Youre the best. God bless you

  • @benjattkk
    @benjattkk 3 года назад +5

    Great video! Really interesting and well explained :)

  • @lennyphoenixc
    @lennyphoenixc 3 года назад +16

    "I am tired, I am going to bed, goodbye!"
    Story of my life XD

  • @Mr850man
    @Mr850man 6 месяцев назад

    Thanks for this video, the groove is exactly what I need

  • @pascalcasier959
    @pascalcasier959 3 года назад +4

    Would love a tutorial on this car. Thank you

  • @BrknHvn
    @BrknHvn 3 года назад +6

    I like your way to explain things! You should do something like "UI/UX on Godot"

    • @LucyLavend
      @LucyLavend  3 года назад +3

      Thank you! Do you have anything you'd like to see me cover about UI? I'm planning on making videos about how to make a main menu, settings menu and a pause menu.

    • @BrknHvn
      @BrknHvn 3 года назад +3

      @@LucyLavend those could be very useful tutorials, also how to animate menus and transitions between scenes/menus could be useful! Thanks!

  • @maynk7096
    @maynk7096 3 года назад +1

    Wow ! Absolutely fantastic tutorial!

  • @vladmartian
    @vladmartian 3 года назад +1

    Damping is friction force inside the spring. It can translate to how quickly the spring gets to the rest position.

  • @franestancium
    @franestancium 3 года назад +4

    thank you, I've been looking for a way to do the hill climb racer car!

  • @AleksandarPopovic
    @AleksandarPopovic 3 года назад +1

    Very nice tutorial, keep going and good luck for your projects!!!!!!

  • @Konamech
    @Konamech 2 года назад +1

    very good video, deserve more subscribers !

  • @jugibur2117
    @jugibur2117 2 года назад +1

    Great infos, didn't know about this, thanks!

  • @graydwarf22
    @graydwarf22 3 года назад +2

    Really amazing videos. So much great content in each one.

  • @Mysda_
    @Mysda_ 3 года назад +1

    I really feel like godot miss some joints in 2D. Like if I want a pin joint that have an end to it's movement, I pretty much can't. If I want a spring for rotation, I can't. If I want to apply torque, good luck.
    So yes it would be nice to get a tutorial for the car! And thank you for your videos, very clear and usefull stuff

    • @LucyLavend
      @LucyLavend  3 года назад +2

      Thanks, and yes I agree that the 2D joints are lacking quite a bit of functionality compared to their Unity counterparts. The option to limit angles on both the pin joint and the spring joint would be really useful

  • @milvusz
    @milvusz 2 года назад +1

    This was excellent. Thanks!

  • @Huguillon
    @Huguillon 3 года назад +1

    Excellent explanation

  • @АндрейДильман-ф6ь
    @АндрейДильман-ф6ь 3 года назад +1

    This is really good explanation! Thank you!

  • @MinecraftAedda
    @MinecraftAedda Год назад +1

    Great video, subscribed!

  • @jordentacoztm
    @jordentacoztm 3 года назад +1

    Thanks for the tutorial! This seems quite useful.

  • @tzerland
    @tzerland 3 года назад +1

    More of these please ! Thanks a lot !

    • @tzerland
      @tzerland 3 года назад

      Found also this one very good just after : ruclips.net/video/r-pd2yuNPvA/видео.html

  • @kimbaptempura4073
    @kimbaptempura4073 3 года назад +1

    Fantastic video! THANKS!

  • @senthilkumar-co4vr
    @senthilkumar-co4vr Год назад

    hi , can you explain how to dynamically assign the rigid bodies to the pin joint . that would be very helpful

  • @scattagain
    @scattagain 2 года назад +1

    The damping in DampedSpringJoint2D is how fast (from 0 to 1) the spring will pull a object back to the resting position

  • @celsladroma8048
    @celsladroma8048 6 месяцев назад

    its help a lot to understand it easily thanks

  • @purplesalad7272
    @purplesalad7272 2 года назад +1

    Great content

  • @ClaudioPerezGamayo
    @ClaudioPerezGamayo 3 года назад +2

    This is great, thank you!

  • @spasmodius8939
    @spasmodius8939 5 месяцев назад

    for DampedSpringJoint2D, i'm having difficulties having one of the nodes be a CharacterBody2D. It just won't work and I've tried a lot of troubleshooting. Does anyone know anything about that?

  • @successspotu
    @successspotu Год назад

    The spring rotation not showing why the yellow color collision

  • @atsyzdali875
    @atsyzdali875 2 года назад

    Really nice and helpful... Thanks!

  • @mahmoud_ali_963
    @mahmoud_ali_963 2 года назад +1

    Really gooood video thank you very much :D

  • @mrmartinwatson1
    @mrmartinwatson1 3 года назад

    at 3:00 how did you get the spring to render correctly? or does that have nothing to do with the debug settings?

    • @LucyLavend
      @LucyLavend  3 года назад +3

      It's a script I made on a Line2D node. I set the first point of the Line2D equal to the position of the StaticBody, and the second point equal to the position of the Rigidbody

    • @successspotu
      @successspotu Год назад

      ​@@LucyLavendok

  • @javiercolinacatalurda9644
    @javiercolinacatalurda9644 2 года назад

    very nice tutorial

  • @marc.silden
    @marc.silden 2 года назад +1

    Nice! Thanks!

  • @HomeofLawboy
    @HomeofLawboy 2 года назад

    Very good tutorial, helped me get off the ground but Damped Spring and Pins seem to be one of the most frustrating things to work through code in Godot.
    If I set everything up in the scene using the editor it's more or less intuitive, but but doing the same setup by code is insuferable.
    I'm two days in a new project and I can not for the life of me join two rigid bodies as closely as possible using damped springs.

  • @thomasparker7305
    @thomasparker7305 3 года назад +1

    A hill climb racing tutorial would be amazing.

  • @ashonlaforce5396
    @ashonlaforce5396 2 года назад +1

    If I were to make 2D hair simulation for a character with long hair, which nodes should I use to make the hair lag behind

    • @LucyLavend
      @LucyLavend  2 года назад +1

      I think I'd be better to look into a method called "verlet integration" instead of using physics nodes. I think that's what they used for the hair in Celeste for example

  • @MadMadDude
    @MadMadDude 2 года назад

    Great Video.. Thank You. I would love to see your version of Hill Climb Racing in an tutorial... 🙂

    • @LucyLavend
      @LucyLavend  2 года назад

      I do already have a tutorial on it on my channel 😄

  • @Sadewoo0
    @Sadewoo0 3 года назад +1

    Thanks for this!

  • @sherekhangamedev
    @sherekhangamedev 3 года назад +1

    Excellent tutorial, kudos! I subscribed.
    Pin joints could be used to obtain the effect of the hair of Madeline from Celeste? Or what would be the better approach you suggest?
    Thanks and keep playing it loud!

    • @LucyLavend
      @LucyLavend  3 года назад

      Thank you! And that's an interesting question!
      A little while ago I messed around with this myself while trying to make a scarf for a platformer game. I made it using a bunch of segments and tied them together using pin joints. This didn't really give th result I wanted because you could really clearly see the different segments in the scarf.
      After some research "verlet integration" seemed like a good solution. I haven't tried it yet, but there are already some Godot tutorials on it.

  • @whynotusepaper468
    @whynotusepaper468 3 года назад +1

    nice video i love it!!!!

  • @SaiponathGames
    @SaiponathGames 2 года назад

    Can you do a video on 3d joints as well?

  • @Atropos148
    @Atropos148 3 года назад +1

    Thank you so much for these videos, they help a lot :) also, PLEASE show us how you made that Hill Climb racing game...i'm trying it myself, but can't figure it out even with the add_torque() explanation you already showed

    • @LucyLavend
      @LucyLavend  3 года назад +1

      Glad it's useful! I'm currently working on another video, but when that's finished I'll get to work on the Hill Climb video 😄

    • @Atropos148
      @Atropos148 3 года назад +1

      @@LucyLavend Okay, you are officially VERY COOL :) ill try and share your videos to help grow the channel, is there anything else we can do to help?

    • @LucyLavend
      @LucyLavend  3 года назад

      @Atropos148 Thanks! Sharing works well enough, thank you

  • @theplaymakerno1
    @theplaymakerno1 Год назад +1

    Hello. Can you please tell me how can be put clamp values on PinJoint. I have been searching for this for 5 days. If possible, please tell me. It will greatly help.

    • @LucyLavend
      @LucyLavend  Год назад

      What part of the pinjoint do you want to clamp? Do you want to clamp the distance an object can move from the joint, or do you want to clamp the rotation?

    • @theplaymakerno1
      @theplaymakerno1 Год назад

      @@LucyLavend I want to clamp the rotation. I have a ragdoll, and I wish to clamp the ragdoll joints so that they don't move beyong 30 degress. Similar to how an elbow or an arm works.
      Thank you for responding.

    • @theplaymakerno1
      @theplaymakerno1 Год назад +1

      @@LucyLavend In fact, this is one of the things that Godot should have out of the box. HingeJoints exist on Unity. If you make a tutorial on how to make a hinge joint using a PinJoint, it would be the only one on RUclips. Nobody else has done it.
      Essentially, what I am trying to do is, create clamps for the ragdoll that I am working on. Help would be appreciated as I have been trying to do this since the past 5 days.

    • @LucyLavend
      @LucyLavend  Год назад

      @@theplaymakerno1 ah whoops I forgot the difference between a pinjoint and a spring joint, it has been a while lol
      Are you working in 2D or 3D?

    • @theplaymakerno1
      @theplaymakerno1 Год назад

      @@LucyLavend 2D pinjoint. Like I stated, there is not a single video on RUclips about this. Even the Discord (Godot) hasn't answered back.

  • @andresleonardo1824
    @andresleonardo1824 3 года назад +1

    thank you!!

  • @whoisnegrello
    @whoisnegrello 3 года назад

    You are the best!

  • @Iscalej
    @Iscalej 8 месяцев назад

    Awesome!

  • @SembeiNorimaki
    @SembeiNorimaki 3 года назад

    Hi Lucy.
    Is there a way of activating a join when a key is pressed?
    What I want is to merge two bodies into a single one when I press a key. I tried doing this by creating two pin joins (so I avoid rotation) and not assigning a node to them. Then when pressing the key I assign the nodes of the two bodies I want to merge.
    But the engine doesn't seem to update and the objects still behave as two separate objects.
    If I assign the nodes manually before running it seems to work.
    Thanks

    • @LucyLavend
      @LucyLavend  3 года назад +1

      That's odd, for me setting $PinJoint2D.node_a = $OtherNode (and doing the same for node_b) works just fine.
      Maybe a different way you could approach this is by making one body a child of the other one. This also avoids rotation.

    • @SembeiNorimaki
      @SembeiNorimaki 3 года назад +1

      @@LucyLavend Thanks a lot. I managed to solve it.
      I was doing $Pin1.node_a=NodePath("./Node1") and it doesn't like it. I changed it to $Pin1.node_a=$Node1.get_path() and it works.
      Thanks a lot for your fast response, great channel :)

    • @LucyLavend
      @LucyLavend  3 года назад

      @@SembeiNorimaki Ah it has to be a node path, nice that you managed to fix it 👍

  • @Mr850man
    @Mr850man 6 месяцев назад

    The force of the spring is Stifness*deformation + damp*(speed of deformation)

  • @lofiscide
    @lofiscide 2 года назад

    How can I give a texture to the springjoint like a rope

    • @LucyLavend
      @LucyLavend  2 года назад +1

      You can use a Line2D node. Via code you can get the position of node a and b of the spring joint and then have two points in the Line2D connect the two

    • @lofiscide
      @lofiscide 2 года назад +2

      @@LucyLavend Ty! Will be helpful for my project ☺️

  • @davidmurphy563
    @davidmurphy563 3 года назад

    Yikes! I have a crush on your pixel art sprite. ;) I kinda already knew everything in this video but I thoroughly enjoyed watching it regardless. Keep it coming. :)

  • @KevinWho
    @KevinWho Год назад

    Found this a bit late, but I hope this all still works in godot 4. Also I wish I could attach these to tilemaps >.< (I got a plan, I can spawn a hidden rigidbody on the tilemap wherever it needs to link)
    Anyways hopefully this makes a nice grapple hook :)
    Edit: Sadly it doesnt seem to work with character2d's at least with scripts on it :/

  • @nopens
    @nopens Год назад

    Thanks for the video. Is there something wrong with your mic? Sounds like its a processed voice, not real.

  • @hmtung2101
    @hmtung2101 3 года назад

    quá tuyệt vời nhất thế giới này!!!

  • @damonmichiels
    @damonmichiels 3 года назад +1

    Epic godot time

  • @brianromeroguzman3653
    @brianromeroguzman3653 3 года назад

    No entiendo ingles pero igual me sirvio el video

  • @Lucas-gg9yb
    @Lucas-gg9yb 3 года назад

    how to make a working rubik cube on godot?

  • @mastermenthe
    @mastermenthe 2 года назад

    8

  • @damascake
    @damascake 2 года назад +1

    I'm ASMR'ed 🤤

  • @MonamiTech
    @MonamiTech 2 года назад

    Thumbnail 더

  • @TechnoHackerVid
    @TechnoHackerVid 3 года назад +1

    first xD

  • @HingalshDealer
    @HingalshDealer Год назад

    ur sus

  • @shirotonbo6315
    @shirotonbo6315 2 года назад

    Man that has to be one of the worst demonstrations I have ever seen.

  • @wakko3wb
    @wakko3wb Год назад

    I really hope to see some new godot 4 tutorials, great work. @LucyLavend

  • @andrewsneacker1256
    @andrewsneacker1256 2 года назад +1

    I like your voice.

  • @bruns_tube
    @bruns_tube 3 года назад +3

    It’s destiny. I’ve been thinking on implementing this in my project for the past couple of days, and here it is. Thank you 👏🏻