this is the havok solution for stabilish player rotation, that uses zero inertia : https://playground.babylonjs.com/#Z8HTUN#452
I want to stabilish the player rotation with ammo like in the repro above.
This is the ammo version, i tried to stabilish by setting the rotationQuaternion but the player moves forward and when walks over ground levels, the player gets a weird rotation.
I tried to set player.physicsImpostor.physicsBody.setMassProps({
inertia: new BABYLON.Vector3(0,0,0)
});
but the emulator crashes