Skip to content
vr-thi edited this page Jul 17, 2017 · 2 revisions

To integrate CAVE support into your Unity application there are a few steps to do:

1. Integrate our package

Import our unity package into to your project. Just copy the content of the "Package" directory into your assets folder.

2. Add NodeManager

In the directory Assets/Cave/Prefabs you should find a prefab called NodeManager. Please add this prefab to your scene.

3. Adjust script execution order

Make sure the script Cave.Synchronizer is executed before all other scripts (In Unity go to Edit -> Project Settings -> Script Execution Order):

  • Add the script Cave.InstantiateNode and set its value to -200.
  • Add the script Cave.Synchronizer and set its value to -100.

4. Adjust your scripts

It is very likely that you have to adjust the scripts of your projects. This is necessary as you need to make sure you are using synchronized parameters instead of the ones unity provides which are just local.

You can find all necessary steps in the synchronization chapter.

5. Customize CAVE config

After building your project you can configure how your project should look like in the CAVE. See the config tool documentation for further details how to do this.

6. Optional: VRPN

Before starting your project, you might also need to start the VRPN server (run VRPN_Server/vrpn_server.exe). This is only necessary if you use vrpn for tracking.

Clone this wiki locally