Hacker News new | ask | show | jobs
by tikotus 31 days ago
Oh, nice! What a wonderful surprise!

Very easy to build, and quite small. A release build of the library is 916K (on macos at least). I have a game engine that compiles to WASM for web, and having 3D physics has been a challenge. 3D physics libraries tend to be large and hard to compile. I didn't try yet, but compiling this into a WASM library with emscripten should be easy, and it's likely small enough to be justifiable for a simple web game.

1 comments

Have a look here, this guy maintains a wasm build of box2D

https://github.com/Birch-san/box2d-wasm

And Catto said, Box3D is very similar to Box2D.