- Home /
2D Sidescroller: Change camera position?
I'm using the sidescroller prefab for iOS and I can't find a simple solution to change the position of the camera. Every time I hit "Play" the camera moves back to the defealut position.
I've been looking at the SmoothFollow2D script and the target is "Player", but I still can't understand why the target is in the center of the screen when I press "Play".
Anyone know how I can resolve this issue?
Best regards, Jorm
Answer by Tijs · Dec 25, 2012 at 05:15 PM
Just set an empty gameobject as a child of your player. you give it a relative (to its parent) position like 5,0,0, and set the camera to follow it
Your answer
Follow this Question
Related Questions
IOS Swipe Gesture 0 Answers
Editing Character Motor 2 Answers
left and right 2d walk 1 Answer
Why my game app is so big? 2 Answers
NullReferenceException: Object reference not set to an instance of an object 0 Answers