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
Great stuff! Keep the tutorials coming, lots of great info.
These little videos are genius. Thanks!
Thank you, actually making a game about a sausage, I would never believe it could be so simple ! Floppy burger deserved it success congrats
Man… this is one of my favourite channels
I would love more 2d physics tutorials like this! :)
You're a source of knowledge. Thank you!
Marvelous technique
Just curious, if you made a ring out of the circle colliders, would it result in a jelly-like sprite?
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.
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.
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?
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!
@@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
@@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.
@@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
또 새로운거 배워갑니당~ ㅎㅎㅎ
Nice~
wow nice
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.
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
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.
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!
This will help me
Go make things floppy :)
YES
Do you have a link to the Floppy Burger game you made?
I to will make a small game with this technique, it will feature my firends facebook faces and alot of sausage.
Lol I can only imagine
You should call this game "Sausage Party".
bro didnt explain any of the code but explained what the lock icon on the inspector does :/