> simulations

Soft Body

simulations/soft-body·v1.3.0
IN:3  OUT:3

The Soft Body operator provides a constraint-based soft body dynamics simulation system. It uses Extended Position Based Dynamics (XPBD) to simulate deformable objects with realistic behavior including stretching, bending, and collision response. The solver supports pressure constraints for volume preservation, various collision types, and external forces.

This operator is ideal for simulating cloth, soft materials, and deformable objects in real-time or offline scenarios. It offers extensive control over simulation parameters, collision detection, forces, and visualization options for constraint debugging and analysis.

PAGESoft Body
Target Geometry Update POPTargetupdatepopPOP operator providing target geometry updates for the simulation.
Time ScaleTimescaleGlobal time scale multiplier for the simulation speed.
Time StepTimestepRead-only display of effective timestep, equal to 1/FPS of TouchDesigner.
SubstepsSubstepsNumber of simulation substeps per frame for improved stability.
IterationsIterationsNumber of constraint solver iterations.
InitializeInitializepulsePulse to initialize or reset the simulation.
StartStartpulsePulse to start the simulation from its initial state.
PlayPlayToggle to play or pause the simulation.
StepSteppulsePulse to advance the simulation by one frame when paused.
PAGECollisions
Enable Ground CollisionEnablegroundcollisionEnable collision with an infinite ground plane.
Ground Collision MarginGroundmarginCollision margin distance from the ground plane surface.
Display GroundDisplaygroundVisualize the ground plane in the viewport.
Enable Bounding Box CollisionEnablebboxcollisionEnable collision with a bounding box volume.
Bounding BoxBboxA reference to a POP defining the bounding box collision bounds.
Bounding Box Collision MarginBboxmarginCollision margin distance from the bounding box surface.
Display Bounding BoxDisplaybboxVisualize the bounding box in the viewport.
Collision DampingCollisiondampingAmount of velocity dampening applied when instances collide with the collision geometry.
SolidSolidTreats the collision geometry as a solid volume, preventing instances from passing through.
ProjectProjectProjects instances onto the surface of the collision geometry.
Collision POPCollisionpopReference to a POP containing the collision geometry when using POP collision type.
Collision OffsetCollisionoffsetOffset distance from the collision surface to prevent z-fighting artifacts.
PAGEForces
PAGECollisions
Corner RadiusCornerradiusRadius of rounded corners on the box collision geometry.
Collison TOPCollisontopReference to a TOP texture used as the collision field for SDF and texture collision types.
Use Custom BoundsUsecustomboundsEnables custom bounding box for the collision texture instead of using the texture's native bounds.
Uniform ScaleScaleUniform scale factor applied to the collision geometry.
Display GeometryDisplaygeoShows the collision geometry in the viewport for visualization.
Enable Self CollisionEnableselfcollisionEnable collision detection between different parts of the same soft body as well as between different geometries.
Max Neighbors DistanceMaxdistanceMaximum distance for neighbor search when using distance-based neighbors.
Max NeighborsMaxneighborsMaximum number of neighbors to consider for self-collision per point.
PAGEForces
Gravity MultiplierGravitymultiplierMultiplier for the gravity force.
Velocity DampingVelocitydampingGlobal velocity damping to reduce motion over time. Range 0-1.
Static ThresholdStaticthresholdVelocity threshold below which static friction is applied.
Dynamic ScaleDynamicscaleScale factor for dynamic friction forces.
Enable ExternalEnableexternalEnable friction with external collision geometry.
Enable SelfEnableselfEnable friction for self-collisions.
Ground Static ScaleGroundstaticscaleStatic friction scale for ground collisions.
Ground Dynamic ScaleGrounddynamicscaleDynamic friction scale for ground collisions.
Enable GrabberEnablegrabberEnable interactive grabber tool for manipulating points.
GrabGrabMomentary button to activate grabbing.
PAGEForces
StrengthGrabstrengthStrength of the grabber force applied to particles.
Transition RangeTransitionrangeRange of the transition falloff from the grabber edge.
Transition AlignTransitionalignAlignment offset for the transition falloff.
Display GrabberDisplaygrabberVisualize the grabber sphere in the viewport.
Visualize Grabbed PointsVisgrabbedpointsHighlight points currently affected by the grabber.
PAGEAdvanced
Enable Max AccelerationEnablemaxaccEnable maximum acceleration limiting to prevent instability.
Max AccelerationMaxaccelerationMaximum allowed acceleration magnitude.
Limit Acceleration in Velocity UpdateLimitaccelApply acceleration limiting during velocity update step.
Fallback to First Order Integration on CollisionFallbackcollisionUse first order integration when collisions are detected for improved stability.
Input 0 POP Geometry
Input 1 POP Constraints
Input 2 POP Collision Geometry
Output 0 POP Geometry
Output 1 POP Constraints
Output 2 POP Collision Geometry