Skip to main content

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.

#DemoWhat it shows
1JointsSquash, stretch and shear a blob: softness, joint reach, angular limits, yield strain.
2BreakingWeights, wall impacts and yanks, both break modes and interior strength.
3CuttingSlice with cut(); each piece keeps its own shape.
4ScalingThree blobs at bake_scale 0.6 / 1.0 / 1.6, landing together.
5Joint stressEvery joint coloured by its load: how to pick a break_force.
6Crush testA slab presses a blob flat; readouts say how well it came back.
7Edge fitParticle size, shape type, edge_clearance, min_area, skin_smoothing.
8BenchmarkSpawns softbodies until the frame rate gives, reporting bodies, joints and physics time.
9PlasticityThe 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.