Soft bodies
· 2 min read
softbody2d and softbody3d are bodies of particles held together by springs and elastic cells. Rapier simulates them on the fixed step, and the node is drawn from what it produced.

kindlays the particles out:box,sphere,cloth,cloth_tubeorropein 3D, andgrid,circleorropein 2D. Ameshcan be filled with cells or kept as a surface.pinned_particlesnames the particles held in place. Pasttear_strainortear_forcean edge breaks, and the node'son_tearruns.- The material rows set a spring per constraint family, the cell model and plasticity.
solver = "fem"switches to Rapier's implicit step. - A soft body is in the snapshot, and the digest hashes every particle's velocity.
- The Physics panel lists every physics component on the selection. One click turns a mesh into a hull, convex pieces, voxels or a soft body.


[nodes.softbody2d]
kind = "circle"
radius = 1.0
particle_count = 32
color = [0.29, 0.56, 0.82, 1.0]
