How to set the minimum zoom scale of the model

When I use the phone , if i zoom scale the model to minimum , model will disappear,so i must limit min value of zoom scale.

If you move the camera away from the object, it will be clipped in the far distance by the maxZ property:

Also, to see entirely your object, you will have to take the object bounding sphere into account. That means, the max distance from the camera to your object is camera.maxz - object.bondingSphere.radius (pseudo code here)


There’s also camera.lowerRadiusLimit