How to integrate dialogue system for Oculus Quest ?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
ludm
Posts: 11
Joined: Tue May 05, 2020 3:11 pm

How to integrate dialogue system for Oculus Quest ?

Post by ludm »

Hello,
I have followed the quick start and everything is ok on Windows, but when trying in the Oculus Quest, texts are displayed too high for NPC and too low for Player.
I have downloaded the example made for Steam VR, but Steam VR does not work in the Oculus Quest, so it does not help much.

Here are the changes I have done:
In Dialogue Manager > Canvas
  • Render Mode: World Sapce
    Event Camera CenterEyeAnchor (Camera)
    Added a Canvas Scaler component
    I changed the size of canvas (but it does not seem to change the size in the Oculus Quest
If anyone has hints to make Dialogue System works in Oculus Quest it would be great. ;)
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to integrate dialogue system for Oculus Quest ?

Post by Tony Li »

Hi,

You're almost there. Make the canvas smaller. You can make the height smaller to shrink it in the vertical direction.

Since it's world space, make sure it's in a place in the world where you want to interact with it, such as on the model of a computer screen, or in a bubble above an NPC's head, etc.
ludm
Posts: 11
Joined: Tue May 05, 2020 3:11 pm

Re: How to integrate dialogue system for Oculus Quest ?

Post by ludm »

Thank you.
I have added the "Basic Standard DIalogue UI" prefab in the canva to see the UI and make the settings.
Then I've updated the "Dialogue UI" field on the Dialogue Manager with the one on the canvas in the scene.
Now I'll try to set the interaction with the Quest Controllers and update this post with the settings when it will be fine.
jimtheberge
Posts: 2
Joined: Mon Sep 07, 2020 5:19 pm

Re: How to integrate dialogue system for Oculus Quest ?

Post by jimtheberge »

Any luck on getting it work with Oculus? You mentioned that you would post the settings - please post them so we can benefit from your learnings.

Thanks!
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to integrate dialogue system for Oculus Quest ?

Post by Tony Li »

The Dialogue System Extras page now has a native Oculus example scene. You can get some settings from that if you like.
Post Reply