Hey guys, I found out what my problem was. I needed to place the TextureRect inside of a Panel node and it now follows the camera like it's suppose to. This also works with the Sprite2D node, make it the child of a Panel node and the problem is solved.
undefined
Ishmael Mansoor
@Ishmael Mansoor
Posts
-
-
Hello,
I'm learning godot and set myself on creating a simple platformer game. My problem is within my player HUD, the first visible element would get stuck on the screen and would not follow the player. How do I prevent this and make it follow the player like the rest of the HUD elements?
TextureRect image is stuck during play testing
TextureRect image is stuck during play testing