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.

Is it possible to place very large Holograms?

Hi!

I'm currently developing on the Hololens using Unity. By following MR Basics 100 and 250, I was managed to place a cube at a fixed position, that when I look around the cube is always positioned at the same place. However, when I make the cube much larger, such as 2 meters in length, with position (0,0,2) and near plane 0.85m, the cube cannot be registered at the same position and it moves when I look around. Is there a way to place large objects?

Thank you very much.!

Answers

  • Hi there, you could look into using WorldAnchors to keep the models where they are based on the world around them. Simple usage:

    hologram.AddComponent<WorldAnchor>();// Adds the world anchor to the GameObject
    Destroy(hologram.GetComponent<WorldAnchor>());// Removes the world anchor so you can freely move the hologram

    Also make sure you aren't moving the hologram in your update method.

Sign In or Register to comment.