Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlayCanvas Package #434

Open
marklundin opened this issue Sep 26, 2024 · 6 comments
Open

PlayCanvas Package #434

marklundin opened this issue Sep 26, 2024 · 6 comments

Comments

@marklundin
Copy link
Contributor

Hi, I'm on the PlayCanvas team. Just wondering if you'd be willing to accept a PR to support PlayCanvas integration?

@isaac-mason
Copy link
Owner

isaac-mason commented Sep 26, 2024

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?

@marklundin
Copy link
Contributor Author

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.

@isaac-mason
Copy link
Owner

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 🙂

@Hamad-exarta
Copy link

Hamad-exarta commented Oct 14, 2024

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?

@isaac-mason
Copy link
Owner

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! 🙂

@Hamad-exarta
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants