@Cedric @MackeyK24 @Deltakosh Can we add the various commits to the one of the Babylon-Ammo.js builds necessary to enable V-HACD mesh compression? This is pretty amazing:
https://enable3d.io/examples/compare-physics-body-shapes.html
@Cedric @MackeyK24 @Deltakosh Can we add the various commits to the one of the Babylon-Ammo.js builds necessary to enable V-HACD mesh compression? This is pretty amazing:
https://enable3d.io/examples/compare-physics-body-shapes.html
I think I can update to the master upstream and that should pick up the latest ammo.js
Let me look into that
Are these commits in the kripken repo ?
Are these commits in the kripken repo ?
No they are not, it is forked, but kripken did comment/review them.
@RaananW are you one of the physics guys? For the longest time I thought it was just @Cedric so I kept tagging only him
You can tag both of us.
For now, I focus on Plugin V2 with improved performances with instances and more things to come.
V-HACD is interesting but unless it gets merged in main ammojs repo, it will be some time before we see it happen in bjs.
I have added an example to use V-HACD using an external library. It is provided as an WASM file and runs in a WebWorker.
In the example I spin up two WebWorker instances to create the two V-HACD shapes in parallel. After the shapes are computed, I terminate both WebWorker instances.
Have a look: https://enable3d.io/examples/threejs/vhacd-shape-webworker.html