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.4KViews3likes1CommentSpatial Anchors Experimental Feature Issues
Hello, I've been working with the Spatial Anchors for some days and I have an issue that I cannot Query anchors by Uuid. Here are my 2 scripts: https://pastebin.com/19xe6YJK <-Manager https://pastebin.com/SRch1ugx <-Placement When I create anchors I save them and them am able to re-spawn them with the QueryAllLocalAnchors() function. This gives a callback to SpatialEntityQueryResults(), which in turn calls more functions to create and update the anchor. Now my problem is when I try to do the same with QueryAnchorsByUuid(), I am able to get the Uuid info from PlayerPrefs successfully, but it doesn't give me a SpatialEntityQueryResults() callback, in fact it doesn't get past OVRPlugin.SpatialEntityQuerySpatialEntity(queryInfo, ref newReqId); and the "Tick 4" debug log doesn't get called. I don't know if anyone else has run into this issue, maybe this is one of the "experimental issues" and perhaps someone could take a look at my script for feedback. The resources I used for making this were the Oculus plugin samples, skarredghost blog and Dilmer Valecillos youtube channel. Thanks in advance1.1KViews0likes0Comments