XR Controls

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
RoguePimptastic
Posts: 22
Joined: Sat Dec 18, 2021 10:52 pm

XR Controls

Post by RoguePimptastic »

I'm so close to purchasing this asset, but I'm stuck on one thing. I am trying to make a Visual Novel in VR, and I can get the text and boxes to show just fine where I want them when looking into my headset. I just can't for the life of me figure out how to push any buttons with the Quest controllers. I've been trying a bunch of different search terms, and can't seem to even decide what it is I'm actually looking for. I just want to be able to point at a continue button, pull a trigger, and get to the next part of a conversation. Any ideas?
User avatar
Tony Li
Posts: 22154
Joined: Thu Jul 18, 2013 1:27 pm

Re: XR Controls

Post by Tony Li »

Hi,

If you're already using a VR interaction framework of some sort, you can configure it to interact with Unity UI since dialogue UIs are just plain old Unity UI.

Otherwise, you can download some examples from the Dialogue System Extras page:
  • VR XR Interaction Toolkit Example: Uses Unity’s XR Interaction Toolkit package.
  • Oculus Laser Pointer Example: Uses the Oculus integration's laser pointer.
  • SteamVR Example: Uses Steam's SteamVR/OpenVR integration.
RoguePimptastic
Posts: 22
Joined: Sat Dec 18, 2021 10:52 pm

Re: XR Controls

Post by RoguePimptastic »

Thank you for the reply. I tried to interact with a button on a different scene, and the raycaster didn't interact at all, so I don't think my problem is with this asset. Tried to get this figured out till about 5am this morning, and got back at it around 9, so I think I'm just too burnt out to make any sense of anything. I'm determined to get this figured out though.
User avatar
Tony Li
Posts: 22154
Joined: Thu Jul 18, 2013 1:27 pm

Re: XR Controls

Post by Tony Li »

When you get back to it, one of those examples above might be useful for interacting in general, including with the Dialogue System.
RoguePimptastic
Posts: 22
Joined: Sat Dec 18, 2021 10:52 pm

Re: XR Controls

Post by RoguePimptastic »

I think I'm going to try to do a 2D game first with this dialog system. I got a little too ambitious trying to learn how to do VR and work on the story part at the same time. I'm working on some renders to populate a short story, and will probably use them in the next couple of days to try out the dialogue system.
User avatar
Tony Li
Posts: 22154
Joined: Thu Jul 18, 2013 1:27 pm

Re: XR Controls

Post by Tony Li »

Sounds good. You'll be well situated to add in VR in your next game!
Post Reply