Skip to content

Camera not cented on start. #391

Sep 27, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

If the follow target is set via code upon the scene starting, then that is an expected result. As the camera will be placed in the scene before the game runs and shouldn't move until it has a valid target to follow.

If the timing is different when you change the Process Mode to Always, then that implies that the scene is not fully unpaused, i.e., it is still doing something in the background, when the target is being set via your code. So you are likely bypassing the scene instantiation flow by doing that. Am not sure if there are any risks involved with doing that.

But, ideally, you would want to assign the target before running the scene — especially if the camera position is very diffe…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yeyazu
Comment options

@ramokz
Comment options

Answer selected by yeyazu
@yeyazu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants