Download

How do I make my VR HUD Widget appear in front of everything else?

I’m making a VR game in 4.19.2 and I have an actor with a Widget component that attaches to the player. I want this HUD to always be visible, even if the player is standing in front of another object.

I’ve tried googling to find out the answer myself, but all I can find is people using single coloured materials as a post process material or pixel depth offsets on textures. However, I’m not knowledgeable enough in Unreal to figure out how to apply this to my situation.

Any ideas?

Thanks!

You can disable depth test on the widget component’s material.

More info here:
https://answers.unrealengine.com/questions/810315/rotate-widget-on-z-axis.html

Ah, perfect! Thank you very much.

This doesn’t seem to work on mobile