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

Is it possible to use cannon-worker-api with vanilla cannon-es? #413

Closed
imokya opened this issue Sep 23, 2022 · 1 comment
Closed

Is it possible to use cannon-worker-api with vanilla cannon-es? #413

imokya opened this issue Sep 23, 2022 · 1 comment

Comments

@imokya
Copy link

imokya commented Sep 23, 2022

Is it possible to use cannon-worker-api with vanilla cannon-es, can we have an example of this?

@imokya imokya changed the title Is it possible to make it work with vanilla cannon-es? Is it possible to use cannon-worker-api with vanilla cannon-es? Sep 23, 2022
@isaac-mason
Copy link
Member

isaac-mason commented Sep 23, 2022

Hey @imokya, that's the eventual intent.

Worker logic used to live in the @react-three/cannon package, but was moved into a new cannon-worker-api package as part of #327.

You can use cannon-worker-api with vanilla cannon-es now, but you'd essentially be creating your own vanilla @react-three/cannon package to use it right now. It doesn't yet have a nice high-level API, and there's no examples right now.

Unfortunately I haven't had much time to push this along. If it's something you're keen for, and you're able to contribute, contribs are very welcome on this issue - #327

I'll close this issue for now, but feel free to discuss this further in the above issue.

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

2 participants