Recursive AI
onepathDocs

onepath docs

Everything about OnePath: getting started, grids and graphs, building and querying navigation meshes, crowds, saved state, moving from Recast, Detour or Unity, and how it is checked.

Building meshes

2D builderNormative description of TileSlicer, Mesh2DPipeline and NavMesh.Build2D: a walkable Region (see build2d-geometry.md) becomes a stitched TiledNavMesh (see navmesh-format.md). A later port that follows this text produces the same tiles, bit for bit.2D builder geometryNormative description of RecursiveAI.OnePath.Mesh.Build2D: outlines and tile maps → regions → boolean operations and offsetting → constrained Delaunay triangulation → convex polygons with adjacency. A later port that follows this text produces the same output, bit for bit.3D builder: spansNormative. This describes what RecursiveAI.OnePath.Mesh.Build3D computes up to the compact open-span heightfield, which is the hand-off to the region stage. A port must reproduce the same spans from these rules. Everything is IEEE-754 float32 (+ − × ÷ sqrt only) unless a type…3D builder: regionsNormative. Continues build3d-spans.md: what RecursiveAI.OnePath.Mesh.Build3D computes from the compact heightfield up to contours, which are the hand-off to the polygon stage. Integer arithmetic only (cell and corner coordinates are int, products long); nothing here uses…3D builder: polygonsNormative text for the last stages of the voxel pipeline and for NavMesh.Build. Earlier stages: build3d-spans.md (voxelization, filters, compaction, erosion) and build3d-regions.md (regions, contours). The mesh format is in navmesh-format.md. Everything is integer arithmetic…glTF inputGltfReader.Read(bytes) turns a glTF 2.0 file into world-space triangles for the 3D builder (NavMesh.BuildGltf). The same file gives the same triangles on every platform: node transforms are composed in double with + − × only (no trigonometry, no square roots).Tile cache and obstaclesStatus: follows the frozen mesh format (navmesh-format.md). Written so a port reproduces the same tiles bit for bit.