Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Is attaching world anchor component to GameObject enough if we don't want anchor to persist?

If we want to provide user with stable experience in a single session, are we required to add it to store as well?

Answers

  • Options

    Hey, @ShubhamKSingh

    1. World anchors are for persisting objects' position and orientation in space in one application launch / session. It's enough to position the object in a desired way and simply attach a world anchor. However, in itself, this won't be enough to restore upon application relaunch.
    2. World anchor store is for persisting of world anchors within the context of one app between that app's relaunches. When the app is relaunched, the anchors will simply be inside of the store and not attached to any game object. That attaching (along with some identification system) is on the app developer.
    3. World anchor transfer batches are similar to world anchor stores but they're agnostic to one single application as well as one single HoloLens. They can be shared in their serialized form and recognized on another device against that device's own sensory data. Again, it's on the developer to establish an identification system as well as add anchors form the batch onto game objects.

    Now it's important to know that some of these tasks maybe automated for you by higher-level frameworks such as MixedRealityToolkit. You are, however, not obliged to use them.

    Cheers

    Building the future of holographic navigation. We're hiring.

Sign In or Register to comment.