Godot Version
4.4.1
Question
I’m trying to get the offset to work with my Camera2D so that I can have a small look ahead when I’m moving my character around. I’ve also set the limit properties of my camera to make sure it doesn’t go outside of the part of the level I want the player to see.
Unfortunately, when I add an offset to the camera, the limit system does not take it into account. So if my character is walking left and I’ve added an offset of (-80, 0) to the camera to show more of the left side of the screen, the camera also overshoots the limit I set by the same amount. I would prefer it for the camera to stay within the bounds I set, even when the offset is set.
Is there any way to have the limit take the offset into account?