Overview of Soft-Bodies in Rapier
Soft-bodies (deformable bodies) are used for objects that bend, stretch, or squash, such as ropes, cloth, jelly, or balloons. Unlike rigid-bodies, which have a single moving frame, soft-bodies are composed of particles (mass points) that can move independently. They interact with the physics world through the following features:
- Impulse Joints: Can be attached via soft frames to link soft-bodies to other soft-bodies, rigid-bodies, or multibodies.
- Colliders: Both deformable and rigid colliders (including sensors) can be attached.
- Skinning: A detailed mesh can follow the deformations of a coarser simulated lattice.
- Kinematic Control: Specific parts of a soft-body can be controlled kinematically.
- Plasticity and Tearing: Soft-bodies can support permanent deformation and tearing.