I can't change the restitution (bounciness) either globally or on a per mesh basis when using ammo physics.
So far I've included the libraries:
<script src="https://mixedreality.mozilla.org/ammo.js/builds/ammo.wasm.js"></script>
<script src = "./scripts/aframe-physics-system.js"></script>
Added it to the scene:
physics="driver: ammo; debug: true;"
I tried defining restitution and friction there, but this has no effect - I believe this works when using cannon.
Added the dynamic-body to the model:
<a-entity gltf-model="#egg0" id="egg" position="2 15 -5" ammo-body="type: dynamic;" ammo-shape="type: sphere; fit: manual; sphereRadius: 1.3;"></a-entity>
Really not sure what to do at this point I've tried to get and set with things I've found around the web, but there doesn't seem to be many examples using ammo and aframe together :(
el.body.setFriction(1);
el.body.setRestitution(0.8);
el.body.setDamping(0.2, 0.2);
el.body.getRestitution();
These do nothing, but also no errors appear in the log?
If there's a way to log out the ammo properties at least I'd have a way to use trial and error, but can't even get to those numbers!