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

Utility to convert geometry to hollow/solid shapes #476

Open
LeoDog896 opened this issue Apr 29, 2022 · 1 comment
Open

Utility to convert geometry to hollow/solid shapes #476

LeoDog896 opened this issue Apr 29, 2022 · 1 comment

Comments

@LeoDog896
Copy link

I think a good fit for this library would be to allow abstract geometry from THREE.js to be converted into collision shapes. With the bunny example, you need to duplicate said code into the objects you want, but there's in multiple scenarios where you may want this behavior, and having to copy that util would be unnecessary.

@LiamOsler
Copy link

LiamOsler commented Jul 1, 2022

Hi @LeoDog896,
It doesn't look like this repo is being actively maintained anymore- take a look at cannon-es for a fork of Cannon that is being actively maintained.

The feature you're describing (converting a THREE.js mesh to Cannon.js shapes/bodies) is available using a library called three-to-cannon.

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