Soft Body Physics in Unity

  Рет қаралды 12,846

Drollest Prawn

Drollest Prawn

Күн бұрын

Пікірлер: 47
@drollestprawn
@drollestprawn 3 ай бұрын
I will make it 3D in part 2 so stay tuned!
@challengedollar2880
@challengedollar2880 3 ай бұрын
yay! subbed and liked! How long do we keep waiting? :(
@waynelyu9966
@waynelyu9966 19 күн бұрын
can't wait for it
@josiauh
@josiauh 3 ай бұрын
this guy went out of his way to build a whole physics engine and you should be grateful of that
@Builtit1
@Builtit1 3 ай бұрын
He Got the unity Theme Too.
@butjok
@butjok 3 ай бұрын
This looks really good. Reminds me a bit of the LocoRoco game. XD The soft body physics is something that I actually 'kinda' tried... Was not successful so it is very educating to see someone acutually doing it for real. Thank you! :3
@daltonhutchinson3556
@daltonhutchinson3556 3 ай бұрын
lol you’re line clearing feature, I like it!!
@NCK74
@NCK74 3 ай бұрын
This is underrated
@Aldin101
@Aldin101 3 ай бұрын
This is really cool. Your line clearing feature can sometimes be achieved in blender under the same conditions (how much force required is dependent on the mesh). The only difference is that they continue to render, but the black hole effect is the same.
@LunaRimu
@LunaRimu 3 ай бұрын
this video blew my mind, the visuals were stunning!
@sejangamer
@sejangamer 2 ай бұрын
I love your videos and tutorials❤❤❤
@VX_S2DiP2YLae0em
@VX_S2DiP2YLae0em 3 ай бұрын
Nice video . I hope your chanel gets bigger soon . You deserve it
@HaykAmirbekyanTKD
@HaykAmirbekyanTKD 22 күн бұрын
The points in your soft body "pull" on each other, but they also need to repel each other when too close. Your softbody resists being pulled apart by pulling on points that are too far from each other, but points also need to repel each other when too close. in archery, there are compression fractures as well as tension fractures. Look up the difference and the correct solution to your problem will become clear.
@Chain23456iamxd
@Chain23456iamxd 3 ай бұрын
So good you underrated keep going i like this video
@morphious86.
@morphious86. 3 ай бұрын
this was a great watch and pretty insightful too, i always appreciate when the failed attempts are shown can't wait for part 2!!
@micmacha
@micmacha 3 ай бұрын
First I was like HEEEEEEYY Unity FINALLY supports soft bodies! But it turned out to you actually had to write it yourself. Props to you sir.
@redionion3594
@redionion3594 3 ай бұрын
At This Point He Could Create His Own Game Engine
@geodebreaker
@geodebreaker 3 ай бұрын
Its not a bug, its a feature
@Sir-Autism
@Sir-Autism 3 ай бұрын
best soft-body physics < dancing shape
@RuhCay
@RuhCay 3 ай бұрын
amazing video man keep it up
@jeffthemagicalpufferfishco9006
@jeffthemagicalpufferfishco9006 3 ай бұрын
A better solution to fixing extreme deformation is to make a rotation lock for each point, the further a point is from its correct rotation the stronger the force moving it back to its old rotation. Im not sure how you would get plasticity to work like this, maybe something to do with if the rotarion left or right is too high anend the rotation for that connection
@drollestprawn
@drollestprawn 3 ай бұрын
By rotation do you mean relative to the points beside it? because technically the points don’t have a rotation. I’ve been looking into something called bending constraints which sounds like what you’re talking about but I don’t fully understand them yet.
@jeffthemagicalpufferfishco9006
@jeffthemagicalpufferfishco9006 3 ай бұрын
@@drollestprawn yeah that's pretty much it. For the purpose of demonstration we'll say the entire structure is pointed upwards(this won't be the case all the time) if we have point A and an attached point B we can assume there is a line from point B to point a with a specific rotation. Ex: if point A is exactly to the right point of point B it is exactly 90° offset from point B. We can make it so that if it is at say 91° we move it towards 90° with a power of 1. Bending constraints does this but more in a specific positional way instead of explaining it in math terms
@Зливипрошмандувань
@Зливипрошмандувань 3 ай бұрын
Awesome work!
@spoxle.
@spoxle. 3 ай бұрын
for the self collision wouldnt you just be able to make a minimum distance the springs can compress??
@drollestprawn
@drollestprawn 3 ай бұрын
That probably would help but sometimes when the spring collapse it’s because they spin around the wrong way instead of going through itself. I’m going to try a bending constraint which tries to keep the angle between two springs the same so maybe that will work.
@JustBasicAnimator
@JustBasicAnimator 3 ай бұрын
bro got caught by puberty
@Kalpak-i7o
@Kalpak-i7o 3 ай бұрын
Demn lol i am watching your video after 4 years long time
@Lumiobyte
@Lumiobyte 3 ай бұрын
Nice one
@drollestprawn
@drollestprawn 3 ай бұрын
Thanks
@mikalappalainen2041
@mikalappalainen2041 3 ай бұрын
How about making non-soft body shape inside those Tetris pieces, surrounded by small spheres with springs? It would never totally collapse yet would still bounce pretty much like before.
@drollestprawn
@drollestprawn 3 ай бұрын
That’s such a creative solution. I might try it thanks
@tr-mz.studios
@tr-mz.studios Ай бұрын
Amazing vid! but how did you "alter" the sticks ? 5:34
@drollestprawn
@drollestprawn Ай бұрын
instead of setting the points position every frame i added a certain percentage of the difference of the position and its target position. so the higher the percentage, the stiffer the soft body is.
@tr-mz.studios
@tr-mz.studios Ай бұрын
@@drollestprawn okay thanks! thats actually a very nice trick, I'll try to replicate something like that ;) gained a follow
@Builtit1
@Builtit1 3 ай бұрын
These Sticks and dots Almost Look like Beams... And Nodes.......
@startek119
@startek119 3 ай бұрын
You should try to post more. I know life can get in the way but I think you could do well on KZbin
@drollestprawn
@drollestprawn 3 ай бұрын
I’m going to try and take it serious. I’m working on another video that I will hopefully be done with soon.
@LebatrowAndSqueak
@LebatrowAndSqueak 3 ай бұрын
@juni7745
@juni7745 3 ай бұрын
for the algorithm
@angelgabrielcaviedesjoya9368
@angelgabrielcaviedesjoya9368 3 ай бұрын
Is there any way to get your scripts? :)
@drollestprawn
@drollestprawn 3 ай бұрын
When it’s more optimized and stable I’ll probably share them.
@imjusttrashlol
@imjusttrashlol 3 ай бұрын
i need a free 3d version of this im poor
@insadeyt
@insadeyt 3 ай бұрын
Of what?
@HexOverride
@HexOverride 3 ай бұрын
Yo :)
@drollestprawn
@drollestprawn 3 ай бұрын
Yo
@kurozikoasu1887
@kurozikoasu1887 3 ай бұрын
I hope nobody uses this for nsfw😐
Physics of JellyCar: Soft Body Physics Explained
17:02
Walaber Entertainment
Рет қаралды 119 М.
I'm Coding an Entire Physics Engine from Scratch
9:19
Gonkee
Рет қаралды 1,7 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 200 МЛН
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,7 МЛН
HackingUnity | Useless Game Dev
10:59
Useless Game Dev
Рет қаралды 13 М.
I Made a Soft-Body Tetris That’s Actually Playable
10:18
Newbie Indie Game Dev
Рет қаралды 238 М.
Procedural Animation Unity 2D tutorial [Unity tool]
5:13
lolopupka
Рет қаралды 337
Why Do Big Video Game Studios Avoid Blender?
6:49
The Cantina
Рет қаралды 686 М.
Making a Game but You Can't Move Backward
10:05
Gambit
Рет қаралды 38 М.
I Made A Physics Engine
6:59
Zyger
Рет қаралды 146 М.
I Made A Difficult Game About Climbing
15:04
Pontypants
Рет қаралды 2,2 МЛН
What does a Game Engine actually do?
16:45
Ellie Rasmussen
Рет қаралды 155 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,5 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 200 МЛН