Navmesh on a sphere

Hello,

With the current recast build, is it possible to build navmesh on a primitive sphere??

https://www.babylonjs-playground.com/#X5XCVT#23

It seems it is not possible with the recast library:

You need to have a single up direction across the whole world for the library to work.

1 Like

Hi @waverider404

@Evgeni_Popov is right. Only 1 direction (up) is allowed. So at best, you can get half a sphere. I plan to add any mesh as a navmesh. So potentialy, use a sphere for navigation. It’s on my todo list :slight_smile:

3 Likes

@Evgeni_Popov
Yeah I was getting a hemispheric shape, Thanks for the clarification!!

@Cedric :+1::+1::+1: that will be awesome!!