hello!
So I have a main scene that has a camera2d, its static, then the player also have a camera2d as a child which follows the player, then I have a global camera that use tween animation to transition from 1 to the other, you can see the code in the image I attached, now the weird thing is when transitioning from player_camera to the scene_camera everything works just fine, but when transitioning from the scene_camera to the player_camera it will stutter a bit, as if the global camera travels too long it got dragged back to where it supposed to be.
the general process is this :start with player_camera—in the main scene turn player_camera off, turn global_camera on,turn scene_camera on----global_camera travels to scene_camera----turn off global_camera.then the same when it transition back, I just don’t understand why does it stutter, I can kind of guessing what’s causing it, maybe its because player_camera position is constanly changing, but why does that matters and how to fix it I have no ideal, pls help, thanks in advance!
another side note is, the stutter happens a brief moment after I leave the detection area, and during that brief moment the further I run the stronger the stutters is, if I just barely standing at the edge of the detection area after leaving, the stutter becomes very subtle
I can’t upload the rest of the video and images here but I have another post on reddit: https://www.reddit.com/r/godot/comments/18xzbp5/camera_stutters_when_transitioning_from_1_to_the/