Closed yangfengzzz closed 1 year ago
Yuka does not yet support automatic navigation mesh generation.
I have used Blender in the past to generate navigation meshes from the imported geometry. Unfortunately, this feature as well as the entire game engine was deprecated with 2.8. So you have to use a version < 2.8.
If you don't want to fallback to earlier Blender versions, you can still create the navigation mesh's geometry by hand.
THX, I found Unity use https://github.com/recastnavigation/recastnavigation to generate the navMesh, Maybe I can try to compile it by using WebAssembly.
Would be interesting to see if this works 👍 .
However, the long term goal is to write a simple nav mesh generator with JS from scratch. We just did not have the bandwidth so far to start with this task.
I'm just start to learn game AI. Is there any methods in the lib to create NavMesh from a glb automatically? or Is there other tools I should use to create these navmesh?