physics_collision_detection
Detect collisions between animated objects using configurable precision and elasticity. Define callback actions triggered on collision events.
Instructions
🔒 碰撞检测 (需要Physics2DPlugin商业许可)
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": {
"objects": "<objects>"
},
"name": "physics_collision_detection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | Yes | 碰撞对象选择器数组 | |
| precision | No | 检测精度 | |
| elasticity | No | 弹性系数 | |
| onCollision | No | 碰撞回调函数 |