I'm making an auto 2D-sidescroller like Bit Trip Runner or Canabalt, and I'm using the smooth follow script.
The thing is that the smooth effect/damping make it looks like my character is placed to right. Becuase he's always running the smooth effect is unnecessary. So my question is:
How can I remove the smooth follow effect and just make the camera follow the character?
Here's the script:
If you want the camera locked to the player's position on the x axis and y axis (assuming your 2 dimensions are x and y) then you'de use a much simpler script.
That puts the player always right in the center of the screen with the camera backed up to
Let's say you wanted the camera to be centered just above the player, or just in front of the player.
Now in the inspector you can change the
answered Aug 23 '11 at 08:50 PM