How to make the camera unable to pass through a model ore 3d object

So I have simple orbit controls setup…nothing is special…I have one 3d model I don’t want the camera to be able to pass through…how can I prevent that

A simple way would be to use controls.minDistance = 30 or so depending on the minimum distance you’d like to be from the model.

1 Like

Look up camera-controls on Google, it’s a better orbit control. It lets you define cages and bounds where the camera cannot go or is confined to.