Can't set initial position of camera with PhantomCamera2D? #429
Replies: 1 comment
-
No, you're not missing something. This is only happening in a tiny window, but the It's just a minor tweak to if not pcam.tween_on_load:
pcam.set_tween_skip(self, true)
if not pcam.is_node_ready(): await pcam.ready # Add this line
_find_pcam_with_highest_priority()
Note, will be adding this change to the next minor release. In practice, it means that the active |
Beta Was this translation helpful? Give feedback.
-
When I set the follow target the position of the PhantomCamera2d and the associated Camera2D nodes is auto set for me by the script and cannot be changes. When I have "tween on load" enabled, it appears to start that camera move from global 0,0 no matter what I do. Am I missing something? Is there a way to set the starting point of that movement? I want the camera to move in, but not from the top left corner of the scene.
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions