Cloth Sim

Simulate cloth, ropes, cables, hair strands, and elastic curves with collision.

What it does

Configures a physics solver for soft, deformable geometry. The incoming shape decides which kind of soft body it becomes: a mesh becomes cloth (stretch and bend constraints), an open polyline or curve becomes a rope, cable or hair strand (a chain of springs, pinned at the root), and a filled 2D shape becomes a membrane or an inflatable balloon. Mixed geometry is accepted, and each piece gets the constraints that suit its shape.

This node only configures. Settings are stamped onto the geometry, which passes through unchanged. The simulation runs inside the Physics World node the geometry is wired into.

When to use it

ParameterTypeDefaultWhat it does
inputGeometries or Primitives—Geometry or 2D shape — meshes become cloth, polylines/curves become ropes, filled shapes become membranes/balloons
pin_groupString""Point group name for pinned vertices (inv_mass = 0). If empty, the first point of each OPEN strand (a rope/hair root) is auto-pinned so it hangs from its root; closed loops and meshes fall/drape freely.
iterationsNumber10Solver iterations per frame (higher = stiffer)
stretch_complianceNumber0Stretch compliance (0 = rigid, higher = stretchy)
bend_complianceNumber0.001Bend compliance — resistance to angle change between segments. Only active for polyline/curve topology (ropes, cables, strands).
stiffness_falloffNumber0Stiffness falloff from root to tip (0 = uniform, 1 = fully flexible at tip). Only active for polyline/curve topology.
dampingNumber0.010Velocity damping (0 = none, 1 = full)
self_collisionBooleanfalseEnable cloth self-collision (prevents cloth from passing through itself)
self_collision_thicknessNumber0.020Self-collision thickness — minimum distance between cloth layers
enable_pressureBooleanfalseEnable pressure — inflate a closed (watertight) cloth surface
pressureNumber1Pressure strength (0 = none, >1 = inflate harder)
balloonBooleanfalseFor a FILLED 2D shape: off = membrane (a triangulated spring sheet that holds its shape like jelly), on = balloon (floppy — only its enclosed area is preserved, like an inflated sac). No effect on open strokes/ropes.
enable_breakingBooleanfalseAllow constraints to break under force (tearing cloth, snapping ropes)
break_thresholdNumber2Stretch ratio threshold — constraint breaks when stretched beyond this multiple of rest length
strengthNumber1Effect strength / wet-dry (0 = no effect, 1 = full). Editable, wirable, keyframable.

Gotchas

Pinning auto-applies only to open strands, a rope or hair strand with a free end. Closed loops and meshes are not auto-pinned and fall freely unless a pin group is assigned.

Bend compliance and stiffness falloff affect rope, cable and hair (curve) topology only. They have no effect on mesh cloth or filled shapes.

Pressure inflates a closed, watertight surface only. On a shape with gaps or an open boundary, enabling pressure does nothing useful.

Balloon changes behaviour for a filled 2D shape only: off gives a membrane (holds its shape like jelly), on gives a floppy balloon (only the enclosed area is preserved). It has no effect on open strokes or ropes.

Worked example

  1. Draw or import geometry: a plane for cloth, an open curve for a rope, or a filled shape for a membrane or balloon.

  2. Add a Cloth Sim and wire the geometry into it. Leave Pin Group empty to let an open strand's root auto-pin, or assign a point group for custom pins.

  3. Wire the Cloth Sim output into a Physics World node's cloth input, which runs the simulation.

  4. Raise Iterations for a stiffer result, or raise Stretch/Bend Compliance to loosen it up.

  5. For a filled shape, toggle Balloon on and enable Pressure to inflate it.

See also

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