set_gravity
Need to customize physics gravity? Set the default gravity vector for the 2D/3D world by specifying X, Y, and optional Z components.
Instructions
Set the default gravity vector for the physics world
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Gravity X component | |
| y | Yes | Gravity Y component | |
| z | No | Gravity Z component (for 3D, default 0) |