ボックス範囲の物理クエリ
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 ベースの単純判定)とは違い、実際のコライダー形状で判定する。
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 文字列で格納。 |