I want to press the buttons in UMG using motion controller but not by pressing buttons on it but rather touching the UMG buttons with the hand mesh. Any idea how to go about it? should i add a trigger volume to each button?
Announcement
Collapse
No announcement yet.
Interact with widgets using motion controller.
Collapse
X
-
Tags: None
-
Hey, one way to go about that is certainly with a trigger volume, you could have a widget interaction on the finger and a trigger volume that encompasses the entire widget. Once the finger enters the volume then you can fire the widget interaction PressPointerKey function. The trigger volume would obviously have to wrap the widget as tightly as possible while leaving a bit of room for the finger collision to enter on the side in which the widget faces.
Like this:
And the widget interaction needs to be pointing in the direction the finger points.Email Plugin - An easy to use plugin to send emails from one email address to another.
-
Originally posted by VirtualSurrealism View PostI want to press the buttons in UMG using motion controller but not by pressing buttons on it but rather touching the UMG buttons with the hand mesh. Any idea how to go about it? should i add a trigger volume to each button?
I remember that one of Epic's dev suggested the use of the Index of the widget interaction to act as a finger and push the button...but honestly I never tried that, so you can give it a shot
Comment
-
Thanks for the suggestions guys. I am trying to bypass the widget interaction, since there seems to be a bug that makes it impossible to use with Oculus Quest and Multi-View enabled.
Comment
-
Originally posted by VirtualSurrealism View PostThanks for the suggestions guys. I am trying to bypass the widget interaction, since there seems to be a bug that makes it impossible to use with Oculus Quest and Multi-View enabled.
Comment
-
Originally posted by VirtualSurrealism View PostThanks for the suggestions guys. I am trying to bypass the widget interaction, since there seems to be a bug that makes it impossible to use with Oculus Quest and Multi-View enabled.
The component itself still works fine, you can make your own "laser pointer" or just add a line to the controller to show is direction.
Comment
Comment