Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Funny to see this just a few days after I’ve started building a Tron-like 3D game for the browser using Jolt[1]. So far Jolt is working pretty well but I’ll certainly be taking a look at this.

1 - I’ve been sitting on this domain for years: https://lightcycles.io

 help




Yep, there is a WASM build with full feature support: https://github.com/jrouwe/JoltPhysics.js

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.


Nice! JoltPhysics.js is quite finicky with typescript, having to have global variable Jolt of type Jolt and using that as a namespace.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: