How to select different phrases in VR

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Emanuele
Posts: 2
Joined: Tue Jul 16, 2019 12:42 pm

How to select different phrases in VR

Post by Emanuele »

Hi,

I'm trying to set up a VR project where a user can choose different answers during the conversation with an avatar.

Following the video tutorials, i manage to develop the conversation and i can watch it in VR.
However, even if -pressing the "a" button- i can select the first answer (and i think that this means that my oculus touch works) i can't choose the other answers.

I've watched the documentation and i saw that there is a demo that uses the gaze selection system from Unity’s free VR Samples package. However i can't make it work in my oculus rift S(don't know why) and i can't understand how it works watching the settings.

I would be happy to make it work with any selection system (gaze selection, ray from hands or whatever). There is a tutorial that explain how to set it up or can you explain to me how to do that?
Sadly i'm a newbie in this and i need a very detailed explanation. I'm sorry to bother you.

Thanks in advance.

Best,
Emanuele
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to select different phrases in VR

Post by Tony Li »

Hi,

Unity's VR Samples are a little confusing. Instead of using the Dialogue System example that uses VR Samples, you may be interested in using the SteamVR/OpenVR example scene (direct download) on the Extras page. It lets you select responses using your hands, which is a bit more intuitive.

The Dialogue System uses standard Unity UI. If you can set up your project to be able to click UI buttons in VR, it should work exactly the same with the Dialogue System's UI buttons.
Emanuele
Posts: 2
Joined: Tue Jul 16, 2019 12:42 pm

Re: How to select different phrases in VR

Post by Emanuele »

Perfect.

Your advice put me on the right path to resolve this issue.

Thanks.

Best,
Emanuele
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to select different phrases in VR

Post by Tony Li »

Glad to help!
Post Reply