addPhysicsBody
Add physics properties to 3D objects in Spline scenes to enable realistic movement, collisions, and interactions based on mass, body type, and collision shape.
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": {
"sceneId": "<sceneId>",
"objectId": "<objectId>"
},
"name": "addPhysicsBody"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| objectId | Yes | Object ID | |
| type | No | Physics body type | dynamic |
| mass | No | Object mass | |
| collisionShape | No | Collision shape | auto |