Demos
The repository ships nine playable scenes, one per feature. Clone
godot-softbody2d, open demos/demo_hub.tscn
and press play, or run it directly:
godot --path . res://demos/demo_hub.tscn
Drag with the left mouse button to pull a blob around, R resets, Esc goes back to the menu.
| # | Demo | What it shows |
|---|---|---|
| 1 | Joints | Squash, stretch and shear a blob: softness, joint reach, angular limits, yield strain. |
| 2 | Breaking | Weights, wall impacts and yanks, both break modes and interior strength. |
| 3 | Cutting | Slice with cut(); each piece keeps its own shape. |
| 4 | Scaling | Three blobs at bake_scale 0.6 / 1.0 / 1.6, landing together. |
| 5 | Joint stress | Every joint coloured by its load: how to pick a break_force. |
| 6 | Crush test | A slab presses a blob flat; readouts say how well it came back. |
| 7 | Edge fit | Particle size, shape type, edge_clearance, min_area, skin_smoothing. |
| 8 | Benchmark | Spawns softbodies until the frame rate gives, reporting bodies, joints and physics time. |
| 9 | Plasticity | The same blob elastic and as clay, side by side. |
Everything is built in script at runtime, so the scenes are one node each and there is nothing to re-bake when the plugin changes; they double as worked examples of the API.
Demo 8 also runs unattended, which is how the numbers on the Physics engines page were measured:
godot res://demos/08_benchmark.tscn -- --benchmark-auto --interval=40 --reach=2 --ticks=60
Without Godot Rapier Physics demo 2 falls back to distance breaking and demo 5 colours joints by stretch; everything else is unaffected.