Closed isaac-mason closed 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
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.
Fixed by: https://github.com/isaac-mason/recast-navigation-js/commit/730ab939575d4ee4bc455a61ed0303d36a8c7494
Will be released in coming days
Related: https://github.com/isaac-mason/recast-navigation-js/issues/57