Camera Collision for Rolling Ball
Hi, I'm a completely new to Unity and programming. I was following the Roll A Ball tutorial and now have a script for movement by adding a force, and a mouse look script for the camera.
I have spent some time looking for the simplest way to stop the camera clipping through objects, like using raycasts. However I have found this quite hard to understand and not sure if it would work as the ball is constantly rotating.
If anyone could help me out or point me in the right direction to figure it out then I'd be very very grateful.
Thanks A lot
Your answer
 
             Follow this Question
Related Questions
roll a ball tutorial 3 of 8 playmode camera error 1 Answer
Roll a ball camera rotation on Q and E 0 Answers
need help with rolling ball camera script! 0 Answers
roll a ball scripting tutorial problem 0 Answers
"rb" does not exist: Error CS0103 1 Answer