Widget Interaction in VR
First off: im using VR Works 4.16, so it should be 4.16.0 even when 4.16.3 is released, i hope that is not the problem.
Im using a modificated version of the VR Template. I have the widget interaction component in my BP_MotionController attached to the HandMesh.
The problem is: When playing in VR im able to see the debug line of my widget interaction component and when hovering over the button, it also activateds the hover event (changed color), but i cant click my button. I looked for various tutorials in the Internet, but all of them just say to use the "Press Pointer Key" with the widget interaction component. My Code looks like this:
I thought that Press Pointer should be enought for the button "clicked" event, but it doesnt work. Input in generell does work since i also handle Pickup in this blueprint and it works perfectly.
Do you have any ideas, why this doesnt work?
asked Aug 03 '17 at 12:26 PM in Using UE4
maybe you should call "Set Input Mode UI" first.
answered Aug 05 '17 at 05:08 PM
I was getting similar issues in 4.20. When using the "Press Pointer" node, it presses the UI button. (I should've seen it in the name :P) The issue is fixed is you use the "On Press" event on the UI button, and not "On Clicked".
I wasted half an hour with this one!! ;P
answered Sep 14 '18 at 04:10 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here