Skip to content

Category Spatial and Geometry

Gustavo edited this page Oct 11, 2026 · 1 revision

Spatial and Geometry

Spatial queries, large-world coordinates, pointer raycasts and procedural voxels.

  • Hex Grid — Hex and fractional coordinates, orientation, layout, map and map-view helpers.
  • Octree — Partitions three-dimensional space into a tree for spatial queries.
  • QuadTree — Partitions two-dimensional space into a tree for spatial queries.
  • Hierarchical Spatial Hash Grid — Quantized sparse indexing separates static and dynamic entries and supports filtered spatial queries.
  • Spatial Hash Scene Integration — Bodies, volumes and a system wrapper register scene bounds, stable IDs and dynamic updates.
  • Global Coordinates — Integer global positions, vectors and bounds convert to Unity-local coordinates through a configurable world scale.
  • Floating Origin — Recenters a local Unity world around an anchor while preserving its global location.
  • ScreenToWorldInfo — Casts screen-space positions into 3D or 2D physics and exposes hit position and normal.
  • DynamicCube Voxel Meshing — Builds voxel grids with internal-face culling, greedy quad merging, tiled UVs and optional mesh colliders.

Start here · Full catalog · Common combinations


Documentation snapshot: 2026-10-11

Tags: legendarytools/category

Clone this wiki locally