Skip to main content

SimSoftbody

17 tools in this family (folder Editor/Tools/SimSoftbody/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
sim_softbody_add_capsule_colliderwritesAdd a capsule body collider that the softbody resolves against. Anchored to an optional Transform
sim_softbody_add_sphere_colliderwritesAdd a sphere body collider. Anchored to an optional Transform (world space if omitted).
sim_softbody_apply_forcewritesApply an impulse at a world-space point, distributed to nearby particles by Shepard
sim_softbody_apply_material_presetwritesApply a named softbody material preset. Available: jelly, gummybear, foam, meattissue, balloon,
sim_softbody_bake_to_animationwritesRun the softbody simulation for 'duration_seconds' at the requested sample rate, recording per-
sim_softbody_configure_plasticitywritesSet plasticity for shape-matching clusters. Plasticity = the rest shape drifts when the
sim_softbody_configure_volume_constraintwritesEnable a single global volume-preservation constraint for hollow shells (balloons, soccer balls).
sim_softbody_createwritesCreate a soft-body actor from a Unity Mesh source. Either provide 'mesh_filter_transform'
sim_softbody_export_setupread-onlySerialize the full softbody setup (properties, build config, plasticity, clusters summary,
sim_softbody_generate_clusterswritesBuild the shape-matching clusters that drive deformation resistance. Pass 'strategy_preset'
sim_softbody_get_stateread-onlyQuery the current state of a softbody: particle count, cluster count, average deformation,
sim_softbody_link_to_fluidwritesEnable two-way buoyancy with an obi_fluid_* fluid actor. The softbody sampling the fluid's local
sim_softbody_resetwritesReset the softbody to its rest shape. Clears all plastic deformation and zeroes velocities.
sim_softbody_set_materialwritesTune softbody material parameters in-place. Any omitted parameter keeps its current value.
sim_softbody_set_shape_matchwritesConfigure the shape-matching constraint. Mode is linear (best-match rotation, default),
sim_softbody_set_solverwritesConfigure the solver loop. More substeps = better stability at higher stiffness. More iterations =
sim_softbody_skin_surfacewritesBind the original high-res surface mesh to the softbody particles using inverse-distance (Shepard)