gltf-navmesh-generator
Small library and command line utility for generating precomputed navmesh data for aframe-extra's nav-mesh;
Library Usage
;;; // Works with .gltf and .glb// .glb input preferred.const navMeshGltfPath = path; // Where to output navmesh fileconst navMeshJSONPath = path; // The name of the Object3D containing the navmesh geometryconst navMeshObjName = "Navmesh"; // Generates navmesh data that can be loaded in aframe via <a-entity nav-mesh="src: navmesh.json">const outNavMeshPath = await ;
CLI Usage
npm install -g gltf-navmesh-generator
Usage: gltf-navmesh-generator <gltfPath> <navMeshPath> <navMeshObjName>
Options:
-V, --version output the version number
-h, --help output usage information