Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
QuantenKlaus's avatar
QuantenKlaus
Honored Guest
3 years ago

Can you use Spatial Anchors for the whole scene instead of individual objects? (v35+)

I would like to start a MR freeroam project using the new Spatial Anchors, but I'm still wondering how best to proceed.


As far as I understand it, Spatial Anchors make a lot of sense to pin individual game objects to the most accurate realworld position possible, but what is the best way to go about it if you want to overlay a large, contiguous scene with the anchors without drifting with the real world.


Imagine the scene is 20m by 20m and I want to recreate the entire real environment and use it as MR space. Each area should overlap with the real world as accurately as possible and without drift. Is there a typical workflow how to do this best with the anchors or would I have to build a system of several anchors myself, which correct the scene whenever there is drift?

If so, what would be the best way to set this up?

 

1 Reply

  • Hi Quanten, working with a similar project here. I am working with v57 of the oculus (Quest II) and sad to say that spatial anchors are not working as they should. If you set a few of them to mark, let's say, corners of a room they drift even if you save them. Not a cm, sometimes even 30cm. If you try to use them to map walls or obstacles probably a user will end up crashing the head against one.  As anchors are managed by the system is impossible to know what really is going on.