4 ms·
About Jolt, do you mean https://github.com/jrouwe/JoltPhysics https://github.com/jrouwe/JoltPhysics ?
by tapirl 3mo ago
About Jolt, do you mean https://github.com/jrouwe/JoltPhysics https://github.com/jrouwe/JoltPhysics ?
- ivanjermakov 3mo agoYep, there is a WASM build with full feature support: https://github.com/jrouwe/JoltPhysics.js https://github.com/jrouwe/JoltPhysics.js
- vmg12 3mo agoI 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 2mo 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.