set_physics_layers
Control object collisions by setting the collision layer and mask on a node. Specify which layers it belongs to and interacts with.
Instructions
Set physics collision layers and masks on a node
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": {
"path": "<path>"
},
"name": "set_physics_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | Collision mask (1-32) | |
| path | Yes | Node with collision object | |
| layer | No | Collision layer (1-32) |