- Home /
Healthbar does not follow camera/appears behind gameObjects
Hello
So basically I want to make a healthbar. But I'm already having some problem with positioning and working with the UI is not my strong side. So basically I started by adding in a canvas and setting it as a child to my camera to make it follow it. And then I tried to change the render mode. World Space does not work at all. Screen Space Overlay works, but then it can't keep up with my camera is I move it(I'm in first person). Then Screen Space Camera can keep up but it appears behind objects in the world. I have tried moving it back and forth but if it gets too close I can't see it.
Here is a video I made demonstrating my problem.
Comment