So I am in need of a scrolling camera that will scroll when the character reaches a certain point. Note that this is not a constantly moving character in which the background is repeating constantly (i.e. like in flappy bird) so I only scroll when the character actually get close to the top edge of the screen. My question is that I am going to be constantly moving the camera the moment the player gets close to the top edge. This means the camera’s y position will constantly be increasing. So if the player plays the game long enough then the camera’s y position will keep getting bigger and bigger. This probably won’t be an issue but I am wondering if it’s possible that the y position could get too big.
Assuming Unity stores positions as floats, you should never overflow. The maximum limit for floats is somewhere in the range of 3.4 * 10^38.