Draw enemy HUD

Hi, I do not see any examples of how to draw an enemy HUD.

What I want is to be able to render images/textures to a panel/slate, and then have that floating as a billboard on top of the enemy/player.

Does anybody know how to do this using UMG perhaps? The examples only cater for the player HUD.
And there are no examples for rendering anything to a billboard, that I can find easily (wiki / answerhub).

In the meantime, I will just simply combine all possible enemy HUD components into images, and flip them in a billboard as a work around.

Hello alwynd,

After looking into a few ideas, I have come to the conclusion that using UMG to display an enemies HUD as it would be seen in 3D space above the characters would not be the most optimum method at the moment. That being said, feel free to try out UMG and if you come up with a solution I would be very interested in seeing what you come up with. For the moment I have a health system working using the billboard setup. I will keep working on it and provide updates with any breakthroughs that I have.

Make it a great day

Hi! Yes I did the same! I parented a couple of planes, because if I individually billboard, they move and tilt around their own individual axis, so I simply parented them, and use a dynamic material instance, and set the texture parameter. Example here:

and here

May one ask why you don’t recommend using UMG for this? Are there some known performance issues with it, like one draw call per widget or something?
Or are you thinking of the ghosting/jitter that can be seen when translating a 2D widget or rotating a 3D widget?

Hello Bonadew,

I did not recommend it before because of a couple of reasons. One of them was indeed that it currently causes a ghosting/jittering effect when you are using a 3D widget. Also at the time, the 3D widget feature had not been released. I hope that this answers your question.

Make it a great day.

Hi Rudy,
Any news on when the 3D widget won’t do anymore ghosting/jittering ?

Hello ,

I ran a quick test with a widget component and it appears to work without any ghosting/jittering when attached to the actor that is moving. I hope that this information helps.

Make it a great day