Deformation of solid body in Unity3D

Hi all,

I am a begginer in Unity and I try to visualise a solid body deformation during collision.
I’ve already read many resources on the internet and did’t find something simple for that, cause I am a begginer.

Could you please tell me some resources to read or tutorials that will help me to do that? Maybe there is some ready physics module in Unity for that.

I found some articles by myself but they are very hard to understand and I don’t know how to apply it to Unity.
http://matthias-mueller-fischer.ch/publications/posBasedDyn.pdf
http://www.euclideanspace.com/physics/dynamics/collision/index.htm

Result could be like that:

Thanks in advance.

There is a way to do that but its not an easy one, you need to create triangle on the collision points and move verts to make the shape. Maybe with voronoid and delaunay?Delaunay triangulation - Wikipedia

But if you are a beginner try other things

Yes, it’s quiet hard I think. Do you know, maybe there is some out-of-the-box solutions in Unity for that?

some scripts on the asset store maybe, https://www.assetstore.unity3d.com/en/#!/content/4799 found this (paid one).
If you need a deformation effect you can have 2 models and swap on collisions =P

Could you please explain what mean swap on collisions? :slight_smile:

you have 2 versions of the same object, one been the unchanged and the other the object with deformation. Thats true even for explosions, and other fancy effects.
For example i have a barrell that explodes if you shoot on it, i change the barrell with a prefact of one barrell broken in several pieces. Then i add a explosion force in the center + a particle emitter .

Oh, I get it :slight_smile: But it’s kind of a cheating for my task :slight_smile: