This might be a Unity specific question. We are working with Dialogue Manager and HTC Vive. We have the have the demo scene “VR UI Example” loaded.
We were able to select an option only by pressing the left mouse button (fire1). But not by using the VR controllers. So I have a few questions.
1. What are we missing? How do we change the input to a VR controller and not the mouse?
2. Can we set it up for point and click selection verse gaze? If so how?
Thanks in advance.
VR setup and use
Re: VR setup and use
Hi,
The "VR UI Example" was designed to be as cross-platform as possible, including VR setups that don't have controllers.
To set up your UI for Vive controller input, first make sure you're using a Unity UI or TextMesh Pro dialogue UI. These use standard Unity UI input.
Then I recommend using VREALITY's Vive controller input module, available on github.
If you don't want to use that, you can run an EventSystem.Raycast in your own script as described in this forum post by Gregg Ladmer.
In either case, you should now be able to interact with any Unity UI elements (Dialogue System or other) using your Vive controllers.
The "VR UI Example" was designed to be as cross-platform as possible, including VR setups that don't have controllers.
To set up your UI for Vive controller input, first make sure you're using a Unity UI or TextMesh Pro dialogue UI. These use standard Unity UI input.
Then I recommend using VREALITY's Vive controller input module, available on github.
If you don't want to use that, you can run an EventSystem.Raycast in your own script as described in this forum post by Gregg Ladmer.
In either case, you should now be able to interact with any Unity UI elements (Dialogue System or other) using your Vive controllers.