- Home /
Question by
Aydan · Mar 19, 2011 at 10:42 PM ·
cameraplatformer
2.5D Platformer Camera
Hi I'm having trouble with my camera I'm making a 2.5D game and i cant get the camera to follow the player because if i attach the camera to the player the camera follows the movement but flips over the other side how can I script this?
Comment
Answer by AngryOldMan · Mar 19, 2011 at 10:56 PM
parent the camera to an empty game object with a rigidbody and freeze rotation selected (under the rigidbody's inspector properties) parent this to the player.
Your answer
Follow this Question
Related Questions
Camera problems in SideScrolling 1 Answer
The main camera pans up when I press play.Please help. 0 Answers
Turning a Corner in 2.5d Platformer 1 Answer
How to get camera to follow player 2d 11 Answers
How to use Lerp? 1 Answer