kripken / ammo.js

Direct port of the Bullet physics engine to JavaScript using Emscripten
Other
4.15k stars 558 forks source link

Convex Decomposition #41

Open timoxley opened 11 years ago

timoxley commented 11 years ago

What would be involved in getting a JS version of this stuff? https://github.com/kripken/ammo.js/tree/master/bullet/Extras/ConvexDecomposition

rhulha commented 10 years ago

+1

kegi commented 6 years ago

+1 (4 years later...)

mqp commented 5 years ago

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.)

timoxley commented 5 years ago

@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

mqp commented 5 years ago

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.

ErikSom commented 1 year ago

👀