Can I limit the zoom-in of camera in Orbit mode

Hi all.

I want to be able to limit or disable the zoom-in of the camera in orbit view.
Is this possible?

Thanks!

Hi @sixtythree,
it isn’t possible from within the editor but you can achieve it by editing scene.json file that exist in your Shapespark project folder. You need to find entry relating to the named orbit view you want to modify and edit maxDistance and minDistance parameters.
Cheers,
Jakub

2 Likes

Hi Jakub, Can you show a sample on how to add or do this?

Thank you!
James

@jamescastillo, this post explains how to add a property to the scene.json file: Right Click to be disabled in orbit mode - #2 by wojtek . In your case, instead of "noPan": true, you’d need to add "maxDistance": N replacing N with the numeric maximum distance of the camera from the orbiting point.