- Home /
 
               Question by 
               JoshMBeyer · Mar 28, 2014 at 07:20 PM · 
                camerarigidbodyfollow  
              
 
              How to make a camera follow a sphere without rotating with it.
Trying to make a camera follow a ball that has a rigidbody. But I can't get it to follow with out rotating with it. And I want to be able to rotate the camera around the ball (Within Limits) How can I do this? I can't figure it out
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by ndesai · Mar 28, 2014 at 09:03 PM
Keep the camera out of the ball's hierarchy (ie don't make the camera a child of the ball) and give the camera the Mouse Orbit script from Components/Camera-Control. Set the target in the Mouse Orbit script parameters to the ball.
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                