Hello everyone,
so i tried to solve the issue by tryNerror , docs and a lot of google usage but didn't have any luck so far.
Im working on a 2d Platformer game and using a camera2d attached to my Player-Character. This works fine so far. I also enabled the property smoothing of the camera2d for a better feel of the camera movement - works fine.
Now that i want to build the UI for the player stats like health, energy, skills, minimap and so on i checked multiple tutorials that all suggested putting the UI as a subnode of the Camera2d and thatfor having it relative positioned to the Camera2d's current position. It basicly works - but as soon the smoothing kicks in the UI floats out of the screen till the camera is completly centered again.
Im basicly trying to enforce my UI beeing always fixed-position in the current viewport by the camera without beeing influenced by the smoothing delay.
Im pretty sure there must be a way to solve those and if anyone could give me a hint on how to solve it i would be extremly thankfull :)!
ps: yes i can fix it by disable smoothing - thats not a solution (.