Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Remote controlling of vr game

Discussion in 'VR' started by tomas12343, Dec 29, 2019.

  1. tomas12343

    tomas12343

    Joined:
    Dec 19, 2019
    Posts:
    10
    Hello everyone, newbie here.I need to control a vr app (oculus quest) from another app in a smartphone. Any ideas on how to connect the two apps?
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,851
    This is the same as any other form of networked multiplayer game. Use your favorite networking framework, or write your own.
     
  3. tomas12343

    tomas12343

    Joined:
    Dec 19, 2019
    Posts:
    10
    Do you have any good network frameworks in mind?
     
  4. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,851
    It depends entirely on your needs and background. If it's a turn-based game (or otherwise doesn't need to send a ton of real-time data), you might just use UnityWebRequest to connect to some PHP script running on your server. Or instead of PHP you could write the server part in Python, or Ruby, or some AWS service. If it's a high-speed game, then I would probably use the Hazel library, because I prefer lower-level networking, but I've also used Photon and I know some people actually like that. Google "Unity networking" and spend some time trying a few solutions until you find something you like.