How to attach widget to head of enemy character which will be scaled always the same and positioned correctly? Everything what I have tried not working, widget always incorrectly positioned. Please send me solution, help me to create such functionality! How to create widget correctly and how to position widget above head which will be always correct showed??
This keeps the widget attached to the character while ensuring it is always readable from the player’s point of view.
For the widget itself, you can create it however you like. In my example, I simply used a Canvas Panel with an Image and a Text widget, both anchored to the center.
With this setup, the widget attached to your enemy should always be displayed correctly.
If not, could you provide more details about what you’re trying to achieve? A more specific example would make it easier to understand the exact behavior you’re looking for and suggest a more appropriate solution.