Open marklundin opened 2 months ago
Hey @marklundin! I am generally open to it 🙂
What would be involved in supporting playcanvas?
Earlier this year there was a brief related discussion on playcanvas forums related to esm support, this package currently only has an esm build - https://forum.playcanvas.com/t/implement-recast-navigation/34255/8
I'm out of the loop on whether this has changed, and keen to hear what you'd want that playcanvas package to look like.
For context, the core recast-navigation package is agnostic to other libraries e.g. threejs. The recast-navigation/three package just contains some helpers for creating a navmesh from three.js meshes, and visualisation helpers.
Would you be looking to add a recast-navigation/playcanvas package with similar helpers?
Ah that's great. yep we are now rolling out the ESM scripts, and I thought showing a recast working in PlayCanvas would be a great demo.
Essentially yes, it would likely be a small set of helpers that replicate the three package but for PlayCanvas. I should be able to prep a PR for review today. I just thought it would be good sitting alongside your other recast libs.
Okay got it! I'm happy to review & merge a recast-navigation/playcanvas package similar to recast-navigation/three, for sure. I'll keep an eye out 🙂
Hey this would be a very helpful integration for one our products built on playcanvas. Can you let me know when it would be available for public use?
I've published the initial version of the @recast-navigation/playcanvas package now! https://www.npmjs.com/package/@recast-navigation/playcanvas
There will almost certainly be some issues to shake out of this initial version. I added a basic example playcanvas-vite-example to this repo but it doesn't use all of the helpers in the playcanvas package yet. If anyone is keen to improve that example, help would be welcome! 🙂
Thanks Issac , we have a solution that coverts 2D ecommerce websites to 3D stores , with recast we can integrate site navigation interfaces in 3D. We will certainly post any issues or improvments.
Hi, I'm on the PlayCanvas team. Just wondering if you'd be willing to accept a PR to support PlayCanvas integration?