Unity Set Gravity
unity_set_gravitySet the global gravity vector for Unity Physics. Specify x, y, and z components to define the direction and strength of gravitational force.
Instructions
Set the global Physics gravity vector in Unity. Default is (0, -9.81, 0).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unity_set_gravity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Gravity X. | |
| y | No | Gravity Y. | |
| z | No | Gravity Z. | |
| timeoutMs | No | Command timeout. |