Page 2 of 2
Re: Anyone got Dialog System working with VRIF?
Posted: Tue Feb 15, 2022 3:53 pm
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.
Re: Anyone got Dialog System working with VRIF?
Posted: Tue Feb 15, 2022 4:49 pm
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!
Re: Anyone got Dialog System working with VRIF?
Posted: Tue Feb 15, 2022 5:20 pm
by jasonr
The 'Press x to interact' dialogue isn't coming up with those instructions though. :/ Trying to figure that out next...
Re: Anyone got Dialog System working with VRIF?
Posted: Tue Feb 15, 2022 6:35 pm
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.
Re: Anyone got Dialog System working with VRIF?
Posted: Tue Feb 15, 2022 9:17 pm
by Tony Li
Thanks for sharing the steps you used.
Re: Anyone got Dialog System working with VRIF?
Posted: Tue Dec 05, 2023 1:17 pm
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.
Re: Anyone got Dialog System working with VRIF?
Posted: Tue Dec 05, 2023 1:59 pm
by Tony Li