- Home /
              This question was 
             closed Jul 26, 2013 at 03:03 PM by 
             robertbu for the following reason: 
             
 
            Multiple technical question, UA doesn't write scripts to spec
 
               Question by 
               MuradD · Jul 26, 2013 at 12:03 PM · 
                camera2drotationtransform.rotate  
              
 
              2D camera rotating relatively to game object speed
I need a script for 2D game that does the following: 1- follows game object in 2 axes. 2- changes angle relatively to game object speed and direction. 3- when the game object collides with something and speed is 0 I want the camera to move back to its original angle with certain speed
I am newbie just started learning Unity any help is good, and thanks (:
               Comment
              
 
               
              UA doesn't write scripts to spec, and question must focus on a single technical issue. Plus point #2 likely needs a drawing or more explanation. Please do some research, then post individual question to the list. You might start by exa$$anonymous$$ing the SmoothFollow script that comes with Unity.
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                