Need help in camera zoom


In this sample,

After particular point camera zooms into the object and shows the other side of the object.
I want to restrict zooming, so that it doesnot zoom into the object.
How to do this.? any camera API’s available for this?

camera.lowerRadiusLimit = 5.1; for limit Radius

Hi @nasimiasl ,
Thanks for the help.
How to arrive at the value of 5.1?
Because, I have different models with different depth values.

Gopinath Vellingiri

that depend to target and mesh bounding box