ボックス範囲の物理クエリ
dx12_overlap_boxEnumerate entities with physics bodies overlapping a specified axis-aligned bounding box, using actual collider shapes for precise detection during gameplay.
Instructions
center を中心とする AABB(半幅 halfExtents)と重なっている物理ボディのエンティティを列挙する。★Playing 中のみ意味のある結果。{entities:[{entityId,name}], count}。dx12_query_entities の box(Transform.position ベースの単純判定)とは違い、実際のコライダー形状で判定する。
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": {
"center": "<center>",
"halfExtents": "<halfExtents>"
},
"name": "dx12_overlap_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| center | Yes | [x,y,z] | |
| maxResults | No | 最大取得数(既定 32、上限 256)。 | |
| halfExtents | Yes | [x,y,z] AABB の半幅。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | エンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。 |