The repository contains a submodule shared with the client and needs to be cloned recursively:
git clone git@github.com:CarouselDancing/vive-sync-server.git --recursive
The project requires Unity version 2021.3.5f1.
Before opening the project you need to download the data using the PowerShell scripts /Assets/Resources/download_data.ps1 and /Assets/StreamingAssets/download_assets.ps1
- Open the scene Assets\ServerApp\Scenes\Start.unity and press on play
- The application will start in a menu scene with the options Start a Server, Join as Observer, Open Settings or Exit.
- Settings: Change the protocol (KCP or Telepathy).
- Server: Start a server using the selected protocol. Other players can see it now in the server list.
- Observe: Display the server list. Double click a server to join as observer. The protocol is automatically adjusted based on the server
- In the main scene the you can control the mouse via right click (translation) and left click (rotation).