hello i have a problem with my health bar and score. my hierarchy looks like this player/camera/progressbar, score , etc. and i have bigger map than just the camera fov so it needs to follow the player and i dont know what to do how can i make camera follow player but gui parts dont and stay in for example right corner of the screen???
All gui controls should be children of a CanvasLayer node. This will make them stay fixed in the viewport. Camera should be a child of the player to follow the player.
They will follow the viewport if they’re placed in a separate canvas layer, you can then set them up to use anchors to position them on screen as desired, then it’s like they exist in screen coordinates instead of world coordinates. The anchor and container system takes a little getting used to. But it’s very effective.