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.
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.