Soft Body Sim

Simulate geometry or curves as a soft body deforming under pressure and elasticity.

What it does

Marks a piece of geometry, or a 2D shape, as a deformable body. Solver settings are stamped onto the geometry, which then flows into a Physics World node's soft-body input, where the solve happens.

Stretch and Volume settings control how far the body stretches or squashes before resisting, Shape Stiffness pulls it back toward its original form, and Damping settles the motion over time. To hold part of the body still, an anchor point or a pinned edge, assign those points to a group and name it in Pin Group.

When to use it

ParameterTypeDefault
inputOneOf([CollectionOf(Geometry), CollectionOf(Crc)])
pin_groupString""
iterationsNumber10
stretch_complianceNumber0
volume_complianceNumber0
shape_stiffnessNumber0.100
dampingNumber0.010
strengthNumber1

Gotchas

Soft Body Sim only stamps settings and does no simulating on its own. Its output must reach a Physics World node's soft-body input for the deformation to run.

Iterations trades performance for stiffness. Raise it if the body feels too soft or unstable under strong forces, lower it for a cheaper simulation where extreme rigidity is not needed.

Pin Group must exactly match the name of a point group on the incoming geometry. If the name matches nothing, no points are pinned and the whole body is free to move.

A Smoke Sim sharing the same Physics World couples to the soft body two-way, automatically. There is no toggle for this, so a nearby Smoke Sim can push on a soft body not expected to be affected.

Worked example

  1. Add a Soft Body Sim and wire in a mesh or shape.

  2. Give a handful of vertices a point group, for example 'anchor', and type that name into Pin Group so they stay fixed.

  3. Lower Stretch Compliance toward 0 for a firmer body, or raise it for something floppier.

  4. Raise Shape Stiffness if the body should recover its original form rather than stay permanently deformed.

  5. Connect the output into a Physics World node's soft-body input to run the simulation.

See also

Physics World · Cloth Sim · Rigid Body Sim · Geometry (meshes)