Please Select Your Location
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malta
المملكة العربية السعودية (Arabic)
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Please Select Your Location
België
Česká republika
Denmark
Iceland
Ireland
Italia
Latvija
Lietuva
Lëtzebuerg
Malta
Nederland
Norge
Polska
Portugal
España
Suisse
Suomi
Sverige

Aligning the height of a virtual scene using an ArUco marker

With Marker-Based Location Sharing, you can align a virtual scene according to the height setting of an ArUco marker.

When a user scans a marker created for Marker-Based Location Sharing, the virtual scene is set to the origin point.

The height of the virtual scene's origin point (y) is based on the height setting of the marker. By scanning a marker with a specific height setting, a user can align their perspective with the virtual scene.

Marker height is defined relative to the floor in the virtual scene, so in order to define the height of the marker correctly, you'll need to set the tracking origin of your virtual scene to the floor.

  1. Set the tracking origin of your virtual scene to the floor.

    If you're using the Wave Rig SDK in Unity, set Tracking Origin to Floor.

    See Unity XR Rig for details.

    If you're using the OpenXR Plugin in Unity, set Tracking Origin Mode to Floor.

    See How can I set the Tracking Origin Mode when using Unity XR? for details.

  2. Create your marker and set the height accordingly. If you're putting the marker on the floor, set the height to 0. For details, see Creating ArUco markers for Marker-Based Location Sharing. When a headset scans the marker, the virtual scene will shift to the coordinates 0, y, 0.
Submit
Thank you! Your feedback helps others to see the most helpful information.