Copyright 2023 - 2024, HTC Corporation. All rights reserved.
Shared Space Experience is an MR co-location example for VIVE XR Elite. This example shows how to allow users to interact in the same physical and virtual space.
In this project, we demonstrate how to align the space between two VIVE XR Elites by Trackable Marker and Spatial Anchor.
Create a new Unity 3D project and switch build platform to Android
.
Install and setup WaveXR Plugin.
Install following packages and assets:
Import this project and setup build settings.
Launcher
and ShootingGame
to the Scenes In Build
, and set Launcher
to be the entry scene.NetworkPrefabsLists
in NetworkManager
component is missing, assign it with Assets/DefaultNetworkPrefabs
.Room Setup
and make sure both VIVE XR Elites have the same floor height.Co-location -- Trackable Marker and Spatial Anchor:
Assets/SharedSpaceExperience/Alignment
demonstrate how to align the space by Trackable Marker and Spatial Anchor.MarkerManager.cs
: Demonstrates how to detect markers and retrieve their information.SpatialManager.cs
: Demonstrates how to create and import/export spatial anchor.AlignmentManager.cs
: Demonstrates how to align the space between the host and other players.MR Pass through:
PassThrough.cs
: Demonstrates how to enable pass through mode.The third part packages and assets are not included in this repo.
See LICENSE.pdf for more information.
Email: ViveSoftware@htc.com