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.

Start position of application

BreanBrean
edited July 2016 in Questions And Answers

Hi, I just started creating Apps for Hololens using Unity.
After I start my App the objects will be created relative from the head position. Is it possible to get the position where the application has been placed and show my hologram there? (if I place the application on a table I want my Holograms to be right on that table, not floating in front of my head)

Best Answer

Answers

  • BreanBrean
    edited July 2016

    My new approach is to have a preview of the hologram at a fixed position e.g. 1 meter in front of the User so he can place it (I am currently looking into the Tagalong script). After the user confirms the position with the tab-gesture remove the preview and set the real Hologram there. (as far as real is the right term, because it is still an object in a virtual environment ;-) )

  • Instead of the Tagalong/SimpleTagalong of the HoloToolkit I created my own simple FixedTagalong which just moves the Object with the camera. I think I will make it move smoother but it works for now. I was overthinking it at first, it is really basic stuff in Unity, so here the code if anyone is interested (I also like to hear comments if this is a good idea or if I should do this differently)
    https://gist.github.com/brean/5210d01240116573d61556173837745e

Sign In or Register to comment.