isaac-mason / recast-navigation-js

JavaScript navigation mesh construction, path-finding, and spatial reasoning toolkit. WebAssembly port of Recast Navigation.
https://recast-navigation-js.isaacmason.com
MIT License
256 stars 22 forks source link

Add tiled nav mesh generator that doesn't use TileCache #119

Closed isaac-mason closed 1 year ago

isaac-mason commented 1 year ago

Related: https://github.com/isaac-mason/recast-navigation-js/issues/57

isaac-mason commented 1 year ago

This should already be possible with what's exposed in the Raw API, but should add a high level generator with sane defaults.

The existing generateTiledNavMesh should be renamed to generateTileCache, and this should be called generateTiledNavMesh

isaac-mason commented 1 year ago

After this, will look to add a threejs demonstration or helper for https://github.com/isaac-mason/recast-navigation-js/issues/9 (dynamic nav mesh). Might also consider providing an example of integrating with a physics library. I will prefer adding reusable building blocks, and examples that can be used as a basis and adapted. A higher-level API can always be revisited in future.

isaac-mason commented 1 year ago

Fixed by: https://github.com/isaac-mason/recast-navigation-js/commit/730ab939575d4ee4bc455a61ed0303d36a8c7494

Will be released in coming days