#Is there a best practice way to add camera collisions to orbit controls

1 messages · Page 1 of 1 (latest)

rough smelt
#

Ie. to stop a camera floating through stuff in the scene

gleaming surge
#

I think I've recommended this package to you before - it's what we used for our website. It has a lot of those features builtin - https://github.com/yomotsu/camera-controls

Guess you're too deep in your project by now to change it I guess?

GitHub

A camera control for three.js, similar to THREE.OrbitControls yet supports smooth transitions and more features. - GitHub - yomotsu/camera-controls: A camera control for three.js, similar to THREE....

rough smelt
#

Quite deep into our project, I'm either going to request an art change to move large objects far away from the camera's orbit zone or implement some collision callbacks myself if I get time