three-pathfinding
three-pathfinding copied to clipboard
Consider using Detour
I'd like to explore using Detour within this library, and accepting the more efficient navmesh formats generated by Recast. I.e. load a tiled navmesh, rather than a raw geometry object.
See: https://github.com/recastnavigation/recastnavigation
Resources:
- Thread from Mozilla Spoke: https://github.com/MozillaReality/Spoke/pull/293#issuecomment-427514102
- Fork of recastCLI.js with WASM build: https://github.com/mquander/recastCLI.js
- WASM bindings: https://github.com/mquander/recastCLI.js/blob/wasm/main/port.cpp
- WASM output: https://github.com/MozillaReality/Spoke/tree/master/src/client/editor/recast
- WASM usage: https://github.com/MozillaReality/Spoke/blob/aa63a2cfb002c8483229e7e1242a78789d96e8cb/src/client/editor/nodes/FloorPlanNode.js
https://github.com/BabylonJS/Babylon.js/pull/6494 👀
https://github.com/isaac-mason/recast-navigation-js
I always thought this was port-of-port-of detour, given the image in readme😅
I had tried, but no. 😢