add_box
Create a solid collision box for fabric to drape over or rest on, simulating furniture like tables, shelves, beds, or window sills. Define its center and dimensions in millimeters.
Instructions
Add a box that cloth collides with (a table, shelf, bed or window sill...).
Args: center: [x, y, z] centre in mm. size: [width_x, height_y, depth_z] in mm. replace_avatar: Allow replacing a human avatar in the scene.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| center | Yes | ||
| replace_avatar | No |