Framed camera follow doesn't follow the target vertically if it's inactive #395
Labels
2D
Issues concerning 2D scenes
bug
Something isn't working
phantom camera
Related to PhantomCamera nodes
Issue description
Hey there,
I appreciate there's a framed follow refactor in the works but I figured I'd throw another issue into the hat.
I have multiple pcams set up in a 2d scene with their inactive update mode set to always. I handle switching the active pcam by changing the priority of the previous and the target pcam when the character enters an Area2D associated with the cameras.
Two of the cameras are set to framed follow the player while one is simple following a vertically moving platform (synced with physics) and is active while the character is on the platform. The framed follow seems to work well enough at start, and while upon leaving the platform the camera correctly switches back to the previous camera, only the horizontal position is updated. Even if entering the previous camera zone/the general area where the camera seems to be, the camera remains misaligned both vertically and horizontally.
+1: wording of the built in dead_zone_height documentation/tooltip has a copypasta error (?) as it says that upon a vertical change the camera will follow the target horizontally
Steps to reproduce
(Optional) Minimal reproduction project
framed-minimal-repo.zip
The text was updated successfully, but these errors were encountered: