2 ms·
I open sourced a wasm build that has better typescript support here: https://github.com/snackdotgame/jolt-ts https://github.com/snackdotgame/jolt-ts I also ha
by vmg12 3mo ago
I open sourced a wasm build that has better typescript support here:
https://github.com/snackdotgame/jolt-ts https://github.com/snackdotgame/jolt-ts
I also have an open source character controller for it
https://github.com/snackdotgame/jolt-ts-character-controller 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.
- ivanjermakov 3mo agoNice! JoltPhysics.js is quite finicky with typescript, having to have global variable Jolt of type Jolt and using that as a namespace.
- dom96 3mo agoNice, 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.