Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

Set an Object/ Hologram based on multiple manually placed anchors/ objects

Hey there,
what I want to do is placing an object. The objects orientation should be given by previously set vertices of the object ( by other objects or anchors, the position of those should be predefined in unity).

example: I want to place a box. when i first tap the position for the upper right corner is set. the next tap is for the lower left corner. So I can orient my object precise in the room.

@stepan_stulov do you maybe have any suggestion? Your answers have been pretty helpful so far.



  • Hey, @Currywurst

    Assuming your object is rigid its sufficient to position 3 points, for example bottom three of the four points, of your box to derive its position, orientation and scale. Optionally you can ignore scale but then only the first corner point will be interpreted literally while others will only defined the ray direction and won't snap the rest two corner of the box in place.

    Some basic vector manipulation knowledge is required.


    Building the future of holographic navigation. We're hiring.

  • Thanks @stepan_stulov for your quick and helpful replay! That is exactly what I want to do.
    Do you maybe have some sample project or code snippets so I can get an idea how to create a vector by tapping an applying it to an object?


  • Hey, @Currywurst

    I usually limit myself to good explanation of fundamental principles and rarely give code samples.


    Building the future of holographic navigation. We're hiring.

Sign In or Register to comment.