[NewUI] Slider Ontop of Player? (Perspective)

I’ve been using a slider for my health/mana bar for awhile now, but I wanted to be able to have a health bar that followed over the other players heads. I’ve been trying to figure out how to do this, but I really just can’t figure it out or think of how to do it.

Is it possible?

1 Answer

1

Create a canvas which will be a child of your player and add your slider to this canvas.
Position this canvas relative to your player. Set the Render Mode for this canvas to be World Space and you also might need to scale down your canvas.

This works for your player, but what I'm trying to do is see the slider ontop of other players. Perhaps I'm doing it wrong?

Got it working, the problem was I was changing the resolution instead of scaling the canvas.