Create a Widget called WristUI
Add variable Text in Graph
bind Text in Content of “Pressed” layer in Designer
type Pressed in set node
Open VR Pawn, add a Widget and set its transform and widget class as follow:
Add Arrow compoent and set its transfrom (for what direction player needs to be facing to trigger UI)
Set WidgetInteraction right trace channel to Visibility, show debug
Go to event graph, create event tick node, and a new function name as DetectHandWidget (to detect when playaer hand and face face to each other)
== node value 0.35, if higher value makes pop up more sensitive, lower opposite
Duplicate all nodes, but swap input between arrow and camera this time, set == value form 0.35 to 0.7:
Finish the graph as this:
Back to event graph, drag newly created function, set visible of debug as below:
Duplicate the 4 nodes, change visible and debug opposite, connect to false branch
Plug out Inputaction trigger right node, connect as below:
Drag the VR pawn in scene, set player 0 at: