Floppy, physics-based sprites in Unity

Поділитися
Вставка
  • Опубліковано 4 лют 2025
  • Create fun floppy sprites for your game in Unity. Add a bit of spice to your scene by transforming your static objects into something a bit more bouncy and reactive.
    This technique makes use of hinge joints and the line renderer component.
    ❤️ Become a Tarobro on Patreon: / tarodev
    =========
    🔔 SUBSCRIBE: bit.ly/3eqG1Z6
    🗨️ DISCORD: / discord
    ✅ MORE TUTORIALS: / tarodev
    About Tarodev:
    Develop video games like a pro!
    Whether you're a beginner or a seasoned game developer, you'll find lots of useful tips and tricks to boost your development career. Visit the channel: / tarodev

КОМЕНТАРІ • 29

  • @durvids474
    @durvids474 4 роки тому +6

    Great stuff! Keep the tutorials coming, lots of great info.

  • @funlightfactory6031
    @funlightfactory6031 2 роки тому +1

    These little videos are genius. Thanks!

  • @Ulrick_AdAstra
    @Ulrick_AdAstra 2 роки тому

    Thank you, actually making a game about a sausage, I would never believe it could be so simple ! Floppy burger deserved it success congrats

  • @mayankbhaisora2699
    @mayankbhaisora2699 3 роки тому

    Man… this is one of my favourite channels

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

    I would love more 2d physics tutorials like this! :)

  • @Notreal76
    @Notreal76 2 роки тому

    You're a source of knowledge. Thank you!

  • @tranvilap4713
    @tranvilap4713 3 роки тому +1

    Marvelous technique

  • @paolo2763
    @paolo2763 3 роки тому +6

    Just curious, if you made a ring out of the circle colliders, would it result in a jelly-like sprite?

    • @Tarodev
      @Tarodev  3 роки тому +8

      It would! which is funny if you've never seen it made before because you basically just invented soft-bodies! All a softbody is, is a mesh of colliders and joints (then the slightly more complex part is drawing a mesh around the shape). I plan to actually make a video on 3D softbodies one day.

  • @nanifiqueyt
    @nanifiqueyt 3 роки тому +3

    Wondering if this could work with Unity's 2D Animation package where you can add bones to your sprite with weights. I guess it could.

  • @anonigamer2010
    @anonigamer2010 3 роки тому +3

    This is great, thanks mate. If I wanted to make meaty stuff in a different shape, is it the same kind of method? Can you add joints between more than two objects?

    • @Tarodev
      @Tarodev  3 роки тому +2

      I suppose your limitation is the line renderer. It's quite flexible though and you can define custom widths for each segment.
      You can certainly add joints to join multiple objects. For example you could make a bunch of loose objects with rigid bodies and draw a line over them with a rope texture, then connect each end to the objects.
      Glad you found it helpful!

    • @anonigamer2010
      @anonigamer2010 3 роки тому +1

      @@Tarodev ah, I'll have a play around. I'm super new to this. I tried to umm.. Make something lol twitter.com/JezCorden/status/1374993274331664385?s=19

    • @Tarodev
      @Tarodev  3 роки тому +1

      @@anonigamer2010 Hahaha! Glad my tutorial is helping a good cause. I think you need to raise the width of the line renderer to give them a bit more... girth.

    • @anonigamer2010
      @anonigamer2010 3 роки тому

      @@Tarodev I'll try that. I did move the line around but it didn't seem to affect the sprite I had. High chance I'm doing something wrong lolol

  • @공대아름이-n2e
    @공대아름이-n2e 2 роки тому

    또 새로운거 배워갑니당~ ㅎㅎㅎ
    Nice~

  • @3ncy
    @3ncy 2 роки тому +1

    wow nice

  • @dmitrywroclaw9165
    @dmitrywroclaw9165 3 роки тому +1

    I recently found out that there are different Joints in Unity, it would be interesting to see a small review on them all.
    One more question. Friend Tarodev, I remember you mention turn based strategy, and did fine videos about 2d tilemap. Do you know any way to properly use 3d Hex tilemap in Unity ?
    I try to make my games with tiles, and for 3d squere tiles tilemap works properly with "2D Tilemap extras" package. But I want to use 3d hexes and do not know how to post them correctly in a game.

    • @Tarodev
      @Tarodev  3 роки тому

      Sounds like you need to make your own level editor. It's a grand task but makes level creation insanely easy. I have a video planned on this. It will probably be a 2 parter

  • @Gatitasecsii
    @Gatitasecsii 2 роки тому

    hello Tarodev, thanks for the tutorial. I have a question tho, could I use this for hair, and also, could I make it bouncy? or squishy?
    Imagine a girl with a hairbun, want it to be squishy/bouncy.
    Oh I was also thinking tails, this could be useful for a dragon tail or something.

  • @thatrandomgamedeveloper8979
    @thatrandomgamedeveloper8979 2 роки тому

    Hey Taro, I had a question regarding physics and wasn't really sure what would be a relevant place for it, I hope here is okay lol. I thought about designing a bowling simulator with Unity, although one thing I'm questioning is how I could improve Unity physics for the pins (I want them to actually be authentic to real life bowling.) Aside from modifying Physics Materials, I'm not sure how else I can achieve some better physics. Any advice is appreciated, thank you!

  • @noobcraft5712
    @noobcraft5712 4 роки тому

    This will help me

  • @coreysonofander
    @coreysonofander 2 роки тому

    Do you have a link to the Floppy Burger game you made?

  • @Sodomantis
    @Sodomantis 3 роки тому +2

    I to will make a small game with this technique, it will feature my firends facebook faces and alot of sausage.

    • @Tarodev
      @Tarodev  3 роки тому +1

      Lol I can only imagine

    • @coreysonofander
      @coreysonofander 2 роки тому

      You should call this game "Sausage Party".

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

    bro didnt explain any of the code but explained what the lock icon on the inspector does :/