Disable zoom in scene

This is what I’m trying to achieve, before user click the scene, user should not able to zoom in and out the scene, when they click the scene, zoom in and out should enabled, is there any babylon method can prevent user zoom in and out the scene? Thanks!

With ArcRotateCamera you could for example set camera.lowerRadiusLimit and camera.upperRadiusLimit to camera.radius and then later set them to whatever limits you want to re-enable zooming.

2 Likes

Thanks a lot @Blake , I think that’s what I need. Disable zoom | Babylon.js Playground (babylonjs.com)

2 Likes