Search Unity

  1. Unity wants to learn about your experiences working on a Unity project today. We'd like to hear from you via this survey.
    Dismiss Notice
  2. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

How to do local multiplayer VR

Discussion in 'AR/VR (XR) Discussion' started by raystump, Sep 17, 2016.

  1. raystump

    raystump

    Joined:
    Dec 21, 2015
    Posts:
    1
    Hello all,

    I am a student that wants to work with VR technology. I want to create a local multiplayer VR game that can run on one device. After some research the only game I could find that does this is Ruckus Ridge. The part that I am particularly stuck on is how they get the VR screen to display something different than the TV screen.

    Here is an example in their game of the two different players having different views.


    Any help or guidance would be fantastic!
     
  2. Dreamwriter

    Dreamwriter

    Joined:
    Jul 22, 2011
    Posts:
    472
    On the camera you can choose which eye you want to send the image to, if you choose "Target eye: none", it sends that camera's image to the display. You can also send a camera image to a second screen by choosing which Display to send it to, and activating that display. Note that either of these will of course affect the framerate within the headset, so you won't want to do anything too fancy.

    Oh, and you can stop the mirroring of the VR view to the display through VRSettings.showDeviceView.
     
    Last edited: Sep 18, 2016
  3. sebastiao_lucio

    sebastiao_lucio

    Joined:
    Mar 14, 2018
    Posts:
    14
unityunity