ammo.js
ammo.js copied to clipboard
Convex Decomposition
What would be involved in getting a JS version of this stuff? https://github.com/kripken/ammo.js/tree/master/bullet/Extras/ConvexDecomposition
+1
+1 (4 years later...)
I plan on building and binding this code. Is upstream interested in a patch to do so by default? Or, if not, would it be good to add an option to build extras in make.py? (That would be a bit more complicated, because it would mean stuff like splitting up the IDL into multiple files.)
@mqp perhaps examine whether it's possible to implement as a kind of plugin or external tool, I would be interested in using this but not very keen on running a fork in the case that you can't get a PR merged
Hmm. I could implement it as a separate build pipeline that produces a separate WASM blob, but it refers to a fair chunk of Bullet code, so that would result in a lot of redundancy in the outputted blobs. I don't see a great way to do it efficiently without changing the existing build process.
👀