KilledByAPixel/LittleJS

Box2d Integration

KilledByAPixel opened this issue · 2 comments

It would be great to create an example or plugin that show how to use LittleJS with Box2d.

https://github.com/erincatto/box2d

Also look into Rapier...

https://rapier.rs/docs/user_guides/javascript/getting_started_js/

from wiredmatt in the discord...

i like box2d too, however i'm more inclined for rapier nowadays: https://rapier.rs/docs/user_guides/javascript/getting_started_js. The only downside is that the wasm module for it is over 1mb, but it has everything you'll ever need from physics, and performance is amazing