Mixedrealitytoolkit-unity: Add persistence WorldAnchor component to objects when placing them in the world

Created on 20 Jul 2016  路  8Comments  路  Source: microsoft/MixedRealityToolkit-Unity

HoloToolkit has TapToPlace which helps in placing objects on real world surfaces.
We should be world anchoring them when they are placed so persistence works.

Most helpful comment

@HjoshM - I have updated links as closely as possible

All 8 comments

Hi @NeerajW - Are you saying that we need a way to make WorldAnchors persist across application re-starts? If, so I'm currently trying to solve this problem - e.g. see this post on the Unity forums. My apologies if this is not what you are referring to.

@aaronsnoswell Checkout the WorldAnchorStore available in UnityEngine.VR.WSA.Persistence.

If you haven't yet, I'd strongly recommend installing the offline Unity Documentation available here: http://unity3d.com/partners/windows/hololens, it contains lots of documentation on the HoloLens that is only available there - the online 5.4 docs don't have WorldAnchorStore for example, but the offline for the HoloLens Technical Preview does.

@aaronsnoswell adding WorldAnchor component to holograms surely will help with hologram stability because you can sign up for tracking lost events.

Using the WorldAnchorStore you can save these world anchors by name to the local HoloLens anchor store and retrieve them when the app restarts. Very similar to how ImportExportAnchorManager.cs does.

I hope to add both these capabilities.

Thanks Josh, I wasn't aware of WorldAnchorStore.

@NeerajW Assuming this is closed now by your merged PR?

Closing due to merged PR - @NeerajW please reopen if that isn't the case.

@NeerajW Hi, Neither of the two links you have provided works. Would you be so kind to edit your answer with updated links? Many thanks

@HjoshM - I have updated links as closely as possible

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chrisfromwork picture chrisfromwork  路  3Comments

brean picture brean  路  3Comments

amfdeluca picture amfdeluca  路  3Comments

StephenHodgson picture StephenHodgson  路  3Comments

provencher picture provencher  路  3Comments