Updated Ammo.js with Bullet v3.2.6 source

The Ammo.js repo is still using Bullet v2.8.2. I’ve copied Bullet v3.2.6 source files into a fork of Ammo.js, fixed a few build errors, and rebuilt the JS/WASM files (and generated .d.ts types). If anyone is interested in upgrading Ammo, I’ve shared the link to the fork above.

I’ve also exposed a variable for the Bullet version that can be accessed by:

console.log(Ammo.btVersion.prototype.BULLET_VERSION); // 326
4 Likes

If there is 100% back compatibility I’m in favor of updating Babylon cdn and repos.
cc @RaananW

1 Like

Do you want to check its functionality? I can update the CDN whenever you give me the OK.

1 Like

Thank you for your help here :slight_smile: Please let me know if you would like me to build with a config different from the one in the README:

cmake -B ./builds/ -DCLOSURE=1 -DTOTAL_MEMORY=134217728 -DALLOW_MEMORY_GROWTH=1

I got the DTOTAL_MEMORY value from @MackeyK24 's post and added DALLOW_MEMORY_GROWTH (mentioned in Ammo.js) for safety

I’m reviving my two years old project, updating the libs, making everything up to date. It uses Ammo so your update is like a cherry on the cake for me! Thank you!

1 Like