Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add persistence WorldAnchor component to objects when placing them in the world #129

Closed
NeerajW opened this issue Jul 20, 2016 · 8 comments

Comments

@NeerajW
Copy link

NeerajW commented Jul 20, 2016

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.

@aaronsnoswell
Copy link

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.

@jwittner
Copy link
Member

@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.

@NeerajW
Copy link
Author

NeerajW commented Jul 21, 2016

@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.

@aaronsnoswell
Copy link

aaronsnoswell commented Jul 22, 2016 via email

@jwittner
Copy link
Member

jwittner commented Sep 6, 2016

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

@jwittner
Copy link
Member

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

@HjoshM
Copy link

HjoshM commented Sep 25, 2017

@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

@jessemcculloch
Copy link

@HjoshM - I have updated links as closely as possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants