Displaying UMG widget on top of mesh
Simple question guys, how can I display a UMG widget on top of a static mesh instead of based on the screen?
For example I have a UMG widget that has an image of hand pointing at something, how can I make it so when I overlap it can display that image on the mesh?
Another concern would be that the icon would adjust to display properly from the player's view angle, so it would look correct from more than 1 position.
Any help would be very much appreciated.
asked Feb 27 '19 at 08:22 AM in Blueprint Scripting
You can add a WidgetComponent in your Actor's BP (Add Component-> Search for "Widget" )
Then in the Details panel search for WidgetClass and assign your UMG here.
You can treat your WidgetComponent just like any SceneComponent. So in your case you can apply SetVisibility and SetWorldRotation to the WidgetComponent.
answered Feb 27 '19 at 10:13 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here