This demo simulates a way in which breakable objects in Unity can be created.
Objects are made of fragments which are connected to each other with fixed joints.
User can observe how many connections in the object are non-broken and how many fragments are objects made from.
User can set the number of connections between fragments, visualize fragments with different colors, or visualize connections between fragments.
| Parameter |
Description |
| Interpolation |
Toggle the interpolation of the selected object |
| Joints per fragment |
Number that indicates how many other fragments is one fragment connected to |
| Break force |
The force needed to break one connection between a joint and the connected fragment |
| Set mass |
Mass of each fragment |
| Object |
Select a type of the object to be destroyed |
| Texture |
Change the texture of the selected object |
| Adjust physics |
Add more physics steps in relation to the time speed. (When time is slowed or sped up) |
| Visualize joints |
Visualize connections between shards (between fixed joints) |
| Visualize shards |
Visualize each fragment of objects with a different color |
| Time speed |
Set the speed of time, does not have effect on the outcome of the simulation |