ovspatialquery#
ovspatialquery is a C library with a Python package for spatial queries: raycasts, sphere and box sweeps, overlaps, and bounding-box pairs over geometry a simulation publishes. It runs on the CPU with no GPU required, and on CUDA devices when you ask for it. Geometry comes from an ovstage stage or from arrays you supply. It performs no dynamics simulation.
Several engines, sensors, and tools can query the same published geometry through it, so none of them has to keep its own scene-query structure synchronized with the simulation.
The following figure shows one published scene queried three ways:
The guide has the following sections:
The Python wheel and the C SDK, and what each one needs.
Publish prims from an ovstage stage and query them, then the same with your own arrays and in C.
Populations, versions, views, results, batches, and pairs, with animated figures.
Eleven short rendered lessons, each in Python and C++.
Every C declaration, generated from the public headers, and the Python package.
A skill that teaches Claude Code, Codex, and other agents to write ovspatialquery programs.
The messages a first installation or program most often meets, and how to fix each one.