set_rigid_body_world
Configure the scene's rigid body simulation, creating it if missing; adjust time scale, substeps, solver iterations, and split impulse to fix jitter, tunneling, or stretching joints.
Instructions
Tune the rigid body simulation for the scene, creating it if needed.
Raise substeps_per_frame and solver_iterations when fast or stacked objects jitter, pass through each other, or joints stretch.
Args: enabled: Run the simulation at all. time_scale: Speed of the simulation, 0 to 100 (0.5 is slow motion). substeps_per_frame: Physics steps per frame, 1 to 1000 (default 10). solver_iterations: Constraint solver passes, 1 to 1000 (default 10). use_split_impulse: Reduce extra bounce when objects stack.
Returns: Every rigid body world setting after the change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | ||
| time_scale | No | ||
| solver_iterations | No | ||
| use_split_impulse | No | ||
| substeps_per_frame | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||