Hello,
I read in Shahin Rabbani’s PDF that to ensure determinism in Ammo.js (Bullet), you need to clear the following flags in btSolverMode from btContactSolverInfo.h:
- SOLVER_RANDMIZE_ORDER
- SOLVER_USE_WARMSTARTING
However, I'm unclear which functions to call in Ammo.js to disable these features. For context, I'm trying to create a deterministic version of 3d-dice/dice-box for a virtual tabletop, but my familiarity with Ammo.js is limited.
Here is the reference image:

image1662×236 48.3 KB
If anyone has additional tips for achieving determinism in Ammo.js, I'd appreciate the help!