Thank you @Blake , this does prevent scrolling, I updated my reply above with the camera.attachControl(canvas, false); Scenes over scroll when reach the radius limit - #5 by pigga
But the thing I’m trying to achieve is when the radius reach the upperlimit, it should scroll down to the page, when the radius reach the lowerlimit, it should scroll up to the page, not stuck in the scene, kind of like overscroll-behavior - CSS: Cascading Style Sheets | MDN (mozilla.org) in css, is this possible?
I tried do it using css when radius reach the limit, I set something like pointer-events to the canvas, or make scene.detachControl(), it did work as I need, but get a problem, when I hover back, I can’t interact with the scene anymore… I need when it hover back, the scene should still work as before
Playground example: Camera movement | Babylon.js Playground (babylonjs.com)