add_soft_body
Make a mesh object soft and wobbly by adding adjustable mass, stiffness, damping, and collision settings for jelly, cushions, or antennae.
Instructions
Make an object soft and wobbly: jelly, cushions, bellies, antennae.
Bake it with bake_physics. With goal on, vertices are pulled back to their shape (higher goal_strength is stiffer); with goal off the object sags and bounces freely, like a water balloon. Add collision to the floor.
Args: object_name: Mesh object. mass: Vertex mass, 0.001 to 50. goal: Pull vertices back toward the original shape. goal_strength: How strongly, 0.0 to 1.0. pull: Edge stiffness when stretched, 0.0 to 0.999. push: Edge stiffness when squashed, 0.0 to 0.999. bend: Resistance to bending, 0 to 10. damping: Edge spring damping, 0 to 50. friction: Air friction, 0 to 50. self_collision: Stop the body passing through itself (slower).
Returns: Dict with the soft body settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bend | No | ||
| goal | No | ||
| mass | No | ||
| pull | No | ||
| push | No | ||
| damping | No | ||
| friction | No | ||
| object_name | Yes | ||
| goal_strength | No | ||
| self_collision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||