Soft body simulation

On this page 7

Soft body simulation is the physics technique that computes how a deformable object changes shape over time when forces, collisions and gravity act on it, and how it tries to return to its rest shape afterward. In 3D graphics & animation it belongs to the Simulation & effects toolkit, where it produces jiggling flesh, bouncing gel, inflatable toys, squashed fruit and rubbery props that keyframing alone would struggle to animate convincingly.

Unlike a rigid body, which moves and rotates as a single unbreakable unit, a soft body lets every vertex or sample point move independently while internal constraints hold the volume together. The result is secondary motion that reacts plausibly to impacts and accelerations, which is why the technique is a staple in feature film, commercials, games and product visualization.

How soft body simulation models deformation

A soft body solver represents an object as a network of points connected by constraints and advances that network through time in small increments. At each step, the solver applies external forces, predicts new point positions, and then corrects those positions so that internal constraints such as edge length, bending angle and enclosed volume are satisfied as closely as the stiffness settings allow.

Three families of methods dominate production work. Mass-spring systems link points with springs and dampers; they are simple and fast but can look stretchy and become unstable at high stiffness. Position-based dynamics (PBD) and its extension XPBD project points directly onto constraint solutions, which makes them robust and art-directable. The finite element method (FEM) divides the volume into tetrahedra and computes stress and strain from material laws, giving the most physically accurate result at a higher cost.

The following table compares these solver families on the properties that matter most when choosing one.

Solver familyCore ideaStrengthWeakness
Mass-springSprings and dampers between pointsFast, easy to understandStretchy look, unstable when stiff
Position-based (PBD/XPBD)Direct projection onto constraintsStable, controllable, real-time capableStiffness depends on iterations in classic PBD
Finite element (FEM)Tetrahedral volume with material lawsAccurate stress, volume and elasticitySlow, needs clean tetrahedral meshes
Shape matchingPull points toward a best-fit rest shapeVery fast, never collapsesLimited realism for large deformation
Main soft body solver families

Key parameters that shape soft body behavior

Artists control a soft body mainly through stiffness, damping, mass and pressure, and small changes in these values can turn a firm rubber ball into a quivering jelly. Most tools expose separate stiffness values for stretching, bending and shearing, so an object can resist elongation while still folding easily.

The table below summarizes the parameters found in nearly every soft body solver and what each one changes on screen.

ParameterWhat it controlsRaising it produces
Stretch stiffnessResistance to edge elongationFirmer surface, less sagging
Bend stiffnessResistance to folding between facesSmoother, less wrinkled shape
DampingHow quickly oscillation dies outLess wobble, heavier feel
Pressure or volumePreservation of enclosed volumeInflated, balloon-like response
Goal or pin strengthPull toward animated target shapeCloser match to the animation
MassInertia of each pointSlower, heavier reaction to forces
Common soft body parameters and their visual effect

Simulation substeps and solver iterations deserve special attention. Substeps divide each frame into smaller time slices, while iterations repeat the constraint correction within each slice. Too few of either makes stiff materials look rubbery or lets fast objects pass through colliders, a failure known as tunneling.

Soft bodies compared with neighboring simulation types

Soft body simulation sits between rigid body simulation and cloth simulation in terms of how much shape freedom it allows. Cloth is essentially a thin soft body with no volume, while muscle simulation is a specialized soft body driven by anatomical activation. Understanding these boundaries helps artists pick the cheapest method that still delivers the required look.

Simulation typeShape changeTypical subjectsRelative cost
Rigid bodyNone, only position and rotationBricks, debris, diceLow
Soft bodyVolumetric deformation and recoveryFlesh, gel, rubber, fruitMedium to high
ClothThin surface stretching and foldingGarments, flags, curtainsMedium
MuscleVolume-preserving bulge from activationCreature and character anatomyHigh
FluidTopology changes, splitting and mergingWater, honey, lavaHigh
How soft bodies relate to other effects simulations

Practical setup in production tools

In practice, artists rarely simulate the final render mesh directly. A low-resolution simulation proxy or tetrahedral cage carries the physics, and the detailed mesh is bound to the proxy through a deformer or wrap. This keeps solve times manageable and avoids instability from thin or badly shaped polygons.

Common implementations include the soft body modifier in Blender, nCloth and Bifrost in Maya, tetrahedral and Vellum soft bodies in Houdini, and FEM solvers in dedicated creature pipelines. Results are written to a simulation cache so that lighting and rendering never recompute the physics.

This decision table matches typical shots to a sensible starting approach.

SituationRecommended approachReason
Jiggle on an animated characterGoal-weighted soft body on a proxyKeeps animation intact, adds secondary motion
Bouncing toy or gel blobPBD or XPBD with pressureStable, fast and easy to art-direct
Close-up flesh compressionFEM on a tetrahedral meshAccurate volume and contact response
Real-time game propShape matching or simple springsPredictable cost per frame
Choosing a soft body approach for common shots

Limitations and common mistakes

Soft body simulation is sensitive to scale, mesh quality and time step, and most failed setups trace back to one of these three. A scene modeled at the wrong scale makes gravity and stiffness behave unrealistically, while long, thin triangles concentrate stress and cause jittering or explosions.

  • Wrong scene scale: a character built at 100 units tall falls in slow motion; set real-world units before tuning.
  • Too few substeps: stiff materials look like jelly and fast impacts tunnel through colliders.
  • Uneven mesh density: small triangles next to large ones produce unstable, noisy motion; remesh the proxy evenly.
  • Volume loss: without pressure or volume constraints, objects collapse slowly under gravity.
  • Over-damping: removes the wobble that justified using a soft body in the first place.

Another misconception is that higher stiffness alone makes an object look heavier. Perceived weight comes mostly from mass, damping and timing, so a dense object should react slowly and settle quickly rather than simply resist deformation.

Stripped to the essentials

Soft body simulation lets a computer work out how squishy things move. Imagine dropping a water balloon or poking a bowl of jelly: the shape dents, wobbles and then settles back. Instead of an animator drawing every wobble by hand, the software treats the object as many tiny points held together by invisible springs and calculates how they push and pull on each other.

The key idea is simple: the object can bend and squash, but it always tries to get back to its original form. Settings such as firmness and how quickly the wobble fades decide whether it behaves like rubber, flesh or jelly.

Where it is applied

A small studio produces a 15-second commercial in which a cartoon gummy bear drops onto a kitchen counter, bounces twice and settles. The animator keyframes only the overall fall and landing. A technical artist then builds a low-resolution proxy of about 3,000 points, adds pressure to keep the bear plump, and sets moderate stretch stiffness with light damping.

With eight substeps per frame, the counter as a collider and a goal weight that keeps the head close to the animation, the solve takes a few minutes. The proxy drives the detailed render mesh through a wrap deformer. The final shot shows the belly flattening on impact and the ears wobbling for half a second, giving the client convincing, tactile motion without hand-animating a single secondary bounce.