You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Add 2 pcams, one framed follow with the player as target, one simple follow on the platform
Priority by default 0
Main camera's pirority changes to 10 if its area is entered
Special camera's priority is changed to 50 if its area entered, changes to 0 if left
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: