- Home /
Camera wrapping
What would be the best way to handle camera screen wrapping?
The user moves the camera in the horizontal axis only. When the camera reaches this position.
It should wrap around to the other side of my main game object (the grid).
Is if position < X then set camera position to Y the best solution here?
You got it. I would also suggest a 'dead band' so if the user hovers on the edge the camera doesn't move every frame.
@Bored$$anonymous$$ormon if you add your comment as an answer, i'll accept it.
Your answer
Follow this Question
Related Questions
Isometric - Camera follow an object when at the edge of the screen 1 Answer
2D Camera Smooth follow, FixedUpdate and LateUpdate odd difference, help needed. 1 Answer
2D Diablo style movement 1 Answer
following camara issue 1 Answer
How to Manually Move the Camera Horizontally or Vertically? (2D, Parallax), 0 Answers