Open LeoDog896 opened 2 years ago
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.
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.