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
266 stars 24 forks source link

Investigate issues generating large solo nav meshes #117

Closed isaac-mason closed 1 year ago

isaac-mason commented 1 year ago
image image
isaac-mason commented 1 year ago

Above is an example output when attempting to generate a solo nav mesh for a larger mesh.

The heightfield is successfully generated for the whole mesh (visualised in blue and green in the second screenshot) but something else is going wrong in the nav mesh generation process.

isaac-mason commented 1 year ago

This just be an issue with the debug nav mesh representation, at least partially.

Screenshot 2023-09-01 at 8 38 56 am

In the above example, the agent is able to traverse an area of the nav mesh that the debug nav mesh hasn't captured.

isaac-mason commented 1 year ago

Known issues should be fixed by https://github.com/isaac-mason/recast-navigation-js/commit/5e79ceb4d2d85b36f808d005ee60e3ee477d1cad

isaac-mason commented 1 year ago
Screenshot 2023-09-01 at 7 14 00 pm