Hud don´t follow the player
Asked Answered
R

2

0

I'm in a Godot Engine Youtube Course and I was doing the HUD. What I have on the screen was a kind of test to see if the objects on the screen moved with my character (Health, coins, Pause Button) but when I move nothing happens, and it is correctly positioned: The canvas Layer is the Node parent and all other nodes are Children, they are placed in the world, but it still doesn't work

Residuum answered 13/6, 2023 at 13:30 Comment(0)
W
0

Did you parent the canvaslayer to the player so it follows it's movement ?

Wanton answered 13/6, 2023 at 15:16 Comment(0)
N
0

In the CanvasLayer, in the inspector, do you have follow viewport enabled? If not, enable it.
This is probably the issue.
I hope this helps.

Natterjack answered 19/6, 2023 at 19:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.