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

Sharing spatial anchors

Suppose I have defined a position as a spatial anchor point and I have a collection of holograms nearby that I want to be influenced by this spatial anchor in preference to any others, how do I do this?

Best Answer

  • Options
    PatrickPatrick mod
    Answer ✓

    objectThatYouWantToBeInfluenced.transform.parent = objectWithTheSpatialAnchorYouWantToDoTheInfluencing.transform;

    ===
    This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.

    (Daddy, what does 'now formatting drive C:' mean?)

Answers

  • Options
    PatrickPatrick mod
    Answer ✓

    objectThatYouWantToBeInfluenced.transform.parent = objectWithTheSpatialAnchorYouWantToDoTheInfluencing.transform;

    ===
    This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.

    (Daddy, what does 'now formatting drive C:' mean?)

  • Options

    Thank you again Patrick

Sign In or Register to comment.