ue_spatial_query
Find nearest actors to a point, detect bounding box overlaps, compute union bounds, or list actors inside a box. Filter by class or tag.
Instructions
Reason about actor positions and volumes. Modes: 'nearest' (N closest actors to a point), 'overlap' (do two actors' bounding boxes intersect, + penetration depth), 'combined_bounds' (union AABB of a filtered set — its footprint), 'box_contents' (which actors sit inside an axis-aligned box). Filter the candidate set with class_filter / tag_filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| z | No | ||
| mode | Yes | ||
| count | No | ||
| actor_a | No | ||
| actor_b | No | ||
| extent_x | No | ||
| extent_y | No | ||
| extent_z | No | ||
| tag_filter | No | ||
| class_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |