All Projects → bddckr → VRTK-PUN-NetworkTest

bddckr / VRTK-PUN-NetworkTest

Licence: MIT license
A small test project showing how to sync VR CameraRig objects using Photon's PUN and VRTK.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to VRTK-PUN-NetworkTest

Vrtk
*Beta* - An example of how to use the Tilia packages to create great content with VRTK v4.
Stars: ✭ 3,422 (+11306.67%)
Mutual labels:  vr, steamvr, vrtk
Openvr
OpenVR SDK
Stars: ✭ 4,997 (+16556.67%)
Mutual labels:  vr, steamvr
hobo vr
SteamVR driver prototyping tool
Stars: ✭ 44 (+46.67%)
Mutual labels:  vr, steamvr
Steamvr For Linux
Issue tracker for the Linux port of SteamVR
Stars: ✭ 631 (+2003.33%)
Mutual labels:  vr, steamvr
TJUCam
SteamVR Compatible Motion Controller with ESP8266 and Raspberry Pi
Stars: ✭ 29 (-3.33%)
Mutual labels:  vr, steamvr
Viveinpututility Unity
A toolkit that helps developing/prototyping VR apps.
Stars: ✭ 256 (+753.33%)
Mutual labels:  vr, steamvr
Virtualmotioncapture
VRゲーム中にモデルをコントロール
Stars: ✭ 423 (+1310%)
Mutual labels:  vr, steamvr
Virtualmotiontracker
Virtual Motion Tracker - バーチャルモーショントラッカー OpenVR OSC Tracker Driver for DIY users
Stars: ✭ 78 (+160%)
Mutual labels:  vr, steamvr
Alvr
Stream VR games from your PC to your headset via Wi-Fi
Stars: ✭ 1,195 (+3883.33%)
Mutual labels:  vr, steamvr
Mesh maker vr
Mesh Maker VR
Stars: ✭ 47 (+56.67%)
Mutual labels:  vr, steamvr
MoonMotion
Moon Motion Toolkit - Free and open source toolkit for VR locomotion
Stars: ✭ 38 (+26.67%)
Mutual labels:  vr, steamvr
Nomai Vr
Outer Wilds VR Mod
Stars: ✭ 120 (+300%)
Mutual labels:  vr, steamvr
reshade-vrtoolkit
Modular shader to enhance you HMD clarity & sharpness with minimal performance impact.
Stars: ✭ 40 (+33.33%)
Mutual labels:  vr, steamvr
sdk-for-unity-vr-starter-project
[Deprecated] SpatialOS SDK for Unity Virtual Reality Starter Project
Stars: ✭ 43 (+43.33%)
Mutual labels:  vr, steamvr
EasyOpenVRUtil
EasyOpenVRUtilは、Steam VR for Unityのちょっと足りないところを埋め合わせるためのライブラリです。特に、コントローラやトラッカーの座標を直接取得したり、非VRだけど位置情報は使いたいといった用途に向いています。その他あると便利な機能も実装しています。
Stars: ✭ 37 (+23.33%)
Mutual labels:  vr, steamvr
PhoneVR
Use Steam VR-enabled applications with your phone as HMD (Head-mounted display). The only Open-Source solution to similar commercial packages like VRidge, iVRy, Trinus etc etc.
Stars: ✭ 178 (+493.33%)
Mutual labels:  vr, steamvr
Simple-OpenVR-Driver-Tutorial
A sample OpenVR Driver for you to learn from
Stars: ✭ 157 (+423.33%)
Mutual labels:  vr, steamvr
thedarkmodvr
VR support for The Dark Mod
Stars: ✭ 49 (+63.33%)
Mutual labels:  vr, steamvr
Openvr Northstar
This is a community driver to support the North Star headset on OpenVR.
Stars: ✭ 17 (-43.33%)
Mutual labels:  vr, steamvr
Openvr Walkinplace
An OpenVR driver that applies virtual movement using a pedometer
Stars: ✭ 86 (+186.67%)
Mutual labels:  vr, steamvr

VRTK-PUN-NetworkTest

A small test project showing how to sync VR CameraRig objects using Photon's PUN and VRTK.

It also includes an example on how to configure VRTK's SDK Manager at runtime:

Screenshot

Cloning/Downloading this project

This project uses both submodules and symlinks. You can't just download the .zip GitHub provides because it won't include the submodules. To clone it properly:

  1. Download and install Git for Windows. Make sure to install Git Bash when asked in the installer and tick the checkbox for Enable symbolic links.

  2. Run Git Bash as administrator. Administrator rights are needed to set up the symlinks.

  3. cd into the folder in which you want to clone the project into, e.g.:

    cd "C:\Users\bddckr\Desktop"
  4. Run the following command to clone the repo into a new folder named VRTK-PUN-NetworkTest:

    git clone --recursive -c core.symlinks=true "https://github.com/bddckr/VRTK-PUN-NetworkTest.git" \
    && cd "VRTK-PUN-NetworkTest/" \
    && rm -rf "Assets/Libraries/VRTK" "Assets/Libraries/SteamVR" \
    && git reset --hard HEAD \
    && cd ..

This will clone the project, set up the submodules and set up the symlinks.

Set Photon AppId

To be able to use this example project you'll have to set up Photon by specifying the AppId:

  1. Open the project in Unity.
  2. In the menu bar click on Window > Photon Unity Networking > Highlight Server Settings.
  3. In the Inspector window change the AppId field to your own one you got from Photon.
  4. Open the scene TestScene found in the Scenes folder in the Project window.
  5. Hit Play!

Testing multiplayer on a single PC

To test multiplayer locally without another computer you can create a standalone build:

  1. Either click on File > Build & Run or:
    1. In the menu bar click on File > Build Settings....
    2. Click the Build And Run button, choose a destination folder and name your executable.
  2. Run the build executable.
  3. Hit Play in the Editor!

This means you now have two copies of the game running at the same time, one standalone and one in the Editor.

Unity version info

This project was created with Unity 5.4.4f1 but should work in all the above versions (including the latest beta of 5.6.0), too. Make sure to allow Unity to upgrade the project when you open it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].