A simple script made by Emergent Sagas for camera orbiting on a object, but improved with raycasting for detecting collision inbetween the camera and the player.
Original code: https://www.youtube.com/watch?v=bVo0YLLO43s
A simple script made by Emergent Sagas for camera orbiting on a object, but improved with raycasting for detecting collision inbetween the camera and the player.
Original code: https://www.youtube.com/watch?v=bVo0YLLO43s