Hacker News new | ask | show | jobs
by vmg12 27 days ago
I open sourced a wasm build that has better typescript support here:

https://github.com/snackdotgame/jolt-ts

I also have an open source character controller for it

https://github.com/snackdotgame/jolt-ts-character-controller

I'm a big fan of jolt because they have a more incremental way of snapshotting physics state which really reduces the amount of serialization and memory you have to do if you want to implement deterministic netcode.

2 comments

Nice, thanks for sharing! I'm definitely hoping to make use of the determinism for my netcode, if you have any useful write ups about that I'd be interested to read more.
Nice! JoltPhysics.js is quite finicky with typescript, having to have global variable Jolt of type Jolt and using that as a namespace.