Anyone got Dialog System working with VRIF?

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Anyone got Dialog System working with VRIF?

Post by Tony Li »

Sounds good. If you get stuck and would like me to put together an example scene with DS and VRIF, let me know.
jasonr
Posts: 8
Joined: Sat Feb 12, 2022 5:21 pm

Re: Anyone got Dialog System working with VRIF?

Post by jasonr »

Ok - its working! Here are my notes for anyone reading this in future
  • Add VRIF XR Rig Advanced and Dialog Manager to your scene as per the vendor's instructions.
  • Duplicate the canvas under Dialog Manager and put it as a child object under CenterEyeCamera in XR Rig Advanced.
  • Drop a Basic Standard Dialogue UI into that canvas. Also, add Basic Standard UI Selector Elements to it.
  • On your copied Canvas, under the canvas properties header.
  • On Dialogue Manager, Display Settings, point the Dialog UI to the Basic Standard Dialogue UI, and point the Default Canvas to the canvas you copied into CenterEyeAnchor.
  • On the CenterEyeCamera canvas, the positions will be wrong. Set Rect Transform to the following so you see something on the VR headset, then tweak it according to your tastes.
Pos X: 0.1826, Pos Y: -0.0627, Pos Z: 1.61
Scale (XYZ) - set all to: 0.003333
Anchors should be 0, Pivot is 0.5


Many thanks for the time you spent helping me figure this one out Tony!
Last edited by jasonr on Tue Feb 15, 2022 6:12 pm, edited 1 time in total.
jasonr
Posts: 8
Joined: Sat Feb 12, 2022 5:21 pm

Re: Anyone got Dialog System working with VRIF?

Post by jasonr »

The 'Press x to interact' dialogue isn't coming up with those instructions though. :/ Trying to figure that out next...
jasonr
Posts: 8
Joined: Sat Feb 12, 2022 5:21 pm

Re: Anyone got Dialog System working with VRIF?

Post by jasonr »

Yes, it works! I've updated my original comments. Note the targeting reticule to start a conversation is slightly out on the above post, so tweak it accordingly.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Anyone got Dialog System working with VRIF?

Post by Tony Li »

Thanks for sharing the steps you used.
levexis
Posts: 4
Joined: Thu Nov 30, 2023 11:10 am

Re: Anyone got Dialog System working with VRIF?

Post by levexis »

Thanks so much for posting this, I've been going in circles all day!

I think "On your copied - Canvas, under the canvas properties header" should say select world space and drop the center camera into the camera slot.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Anyone got Dialog System working with VRIF?

Post by Tony Li »

There's a tutorial here: Dialogue System with VRIF Tutorial
Post Reply