add_collision
Make a mesh solid against cloth, particles, and soft bodies so simulations collide instead of falling through. Adjust thickness, damping, friction, stickiness, and permeability.
Instructions
Make an object solid to cloth, particles and soft bodies.
Without it, a cloth falls straight through the floor.
Args: object_name: Mesh object to collide with. thickness: Outer collision distance, 0.001 to 1.0. Raise it if cloth pokes through. damping: How much bounce is lost, 0.0 to 1.0. friction: Cloth friction against the surface, 0 to 80. stickiness: Particles stick to the surface, 0 to 10. permeability: Share of particles that pass through, 0.0 to 1.0.
Returns: Dict with the collision settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| damping | No | ||
| friction | No | ||
| thickness | No | ||
| stickiness | No | ||
| object_name | Yes | ||
| permeability | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||