It seems like event.scroll
results to 0 while doing it in Firefox, but not in Chrome or Edge - tested in both my own project and a new one with the model viewer starter kit.
MouseInput.prototype.onMouseWheel = function (event) {
console.log(event.wheel); //always prints 0 in firefox
this.orbitCamera.distance -= event.wheel * this.distanceSensitivity * (this.orbitCamera.distance * 0.1);
event.event.preventDefault();
};
Is anyone else experiencing this?