Search Unity

Menu to control VR game on monitor that's not visible to player in VR

Discussion in 'AR/VR (XR) Discussion' started by eharbinson966, May 31, 2019.

  1. eharbinson966

    eharbinson966

    Joined:
    Apr 25, 2019
    Posts:
    3
    Hi,

    My current project is developing VR physiotherapy for disabled children using the Vive and its puck trackers. In this case the therapist needs to be able to control the experience of the user in VR at the monitor, but also to be able to see the VR view. If you've played The Lab and seen the Level Select menu overlayed onto the VR view on the monitor, that's pretty much exactly what I'm going for.

    I have a second camera with a seperate view from the VR view working fine on the monitor using "Target Eye: None", the problem is integrating a VR view as well as a seperate menu. I've tried using another camera which targets one of the eyes as a render texture, but it didn't seem to work at all.

    Any help with this would be massively appreciated, thank you.
     
    alexzbaz likes this.
  2. markjanzen88

    markjanzen88

    Joined:
    May 31, 2017
    Posts:
    68
    if you change your canvas (UI) to screen space overlay and use the Steam VR Unity sdk (player prefab, etc), whatever you have on your canvas will only show on your PC monitor. it will also show the player view as well...
     
    eharbinson966 likes this.
  3. eharbinson966

    eharbinson966

    Joined:
    Apr 25, 2019
    Posts:
    3
    Thanks that's perfect