Why is the emscripten port of recast-detour not available on github?

Hi.

The package found here recast-detour - npm does not seem to be publically available to github. Is there ay specific reason for this?

Welcome abroad! ccing @Cedric

sources are here : https://github.com/BabylonJS/Extensions/tree/master/recastjs

I’ll update the readme/package to add this link next time I’ll do a release.

1 Like

Many thanks for the quick reply!

I was able to track down some code from cloning the BabylonJS repository and am now trying to get it working. If I am able to get something going, I can commit a basic README for the npmjs package as well, if you want that. Might be helpful for someone looking to use recast outside of the plugin (for server-side, etc).

Also, this link is dead http://masagroup.github.io/recastdetour/index.html if there is an alternative somewhere, that would be amazing!

(it is referenced from the npm package README)

recast detour sources used : GitHub - recastnavigation/recastnavigation: Navigation-mesh Toolset for Games

1 Like

I’ve been able to get something going now, thanks for the help.

BTW, I am not able to use the type defs in a meaningful way since it only default exports a async function that resolvs to the namespace Recast but it does not actually give any type hints at the point of usage.

A more meaningful typdef file is found here https://github.com/BabylonJS/Babylon.js/blob/master/packages/tools/babylonServer/public/recast.d.ts

1 Like