Skip to main content
Swancopter
New Participant
February 7, 2024

"Dynamic" Spatial Anchors

Is there a way to track the virtual position of a real moving object with the Quest? For example a ball that is rolled across a table (example).

Alternatively does anyone have guidance or examples of using one of the quest controllers (maybe the Quest Pro controller is most relevant for this) or some other sensor that can interface with the Quest to get its position without necessarily being held in the user's hand? My use-case is to track a physical robot in mixed reality so that I can display robot relative visualizations (e.g. LiDAR) from the correct coordinate frame / pose.

This topic has been closed for replies.

3 replies

kutlaytunc
Inspiring
January 30, 2025

Ditto

jtriveri
Honored Contributor
January 30, 2025

For now you can only track keyboards, but the headset can track them in real time and they can be any old keyboard. The Trackables API structure also suggests there may be other trackable items in future OS releases.

I have some code you can reference if you're interested. My script is meant for colocation and so only tracks the keyboard for a single frame, but the snippet still shows how you can track keyboards for your own purposes. The official documentation for the API isn't that good

https://github.com/anaglyphs/lasertag/blob/52fb10848cb1512be7ed60497d6225369f43da97/Assets/Anaglyph/XRTemplate/SharedSpaces/MetaTrackableColocator.cs

Also, you must turn on keyboard tracking in system settings (under devices) which is off by default! I spent so long trying to figure out why my code wasn't working because of this

kutlaytunc
Inspiring
January 30, 2025

I'm using Unreal and desperate to find any solution, thank you for your suggestion but that is not a thing for Unreal yet.