game_physics_body
Configure physics body properties—mass, velocity, damping, gravity scale, friction, bounce, freeze, and sleep—by node path to tune 2D or 3D game behavior.
Instructions
Configure physics body properties (mass, velocity, etc.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nodePath": "<nodePath>"
},
"name": "game_physics_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass | No | Body mass | |
| bounce | No | Physics material bounce | |
| freeze | No | Freeze the body | |
| friction | No | Physics material friction | |
| nodePath | Yes | Path to physics body node | |
| sleeping | No | Put body to sleep | |
| linearDamp | No | Linear damping | |
| angularDamp | No | Angular damping | |
| gravityScale | No | Gravity scale | |
| linearVelocity | No | Linear velocity {x,y} or {x,y,z} | |
| angularVelocity | No | Angular velocity (float for 2D, {x,y,z} for 3D) |