For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but we’ll share Impact Deformable for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Impact Deformable v2.0
Impact Deformable implements an automatic system of dynamic mesh deformation by impact in a single script.
Demonstration: Video / Car Derby (WebGL) / Metal Rain (WebGL) / Ice Cubes (WebGL)
Documentation: PDF
Features:
– Full Unity 2019/2018/2017 compatibility
– Works with any kind of mesh/collider
– Each object part can have different hardness (among other deformation settings) in a compound collider structure
– Mesh can be repaired by a specified amount with a single function call (either the whole mesh or area delimited)
– Optionally deforms MeshCollider component along with the mesh – both convex and non convex mesh colliders
– Structure damage estimation (numeric), allowing to integrate visual deformation into game rules – like, for example, cars that stop working after x% of damage
– Beside automatic deformations by impact, it is also possible to perform deformations by code
– Works on mobile devices without limitations
– Optional vertex color deformation