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.

Spatial Understanding tutorials

Hi,

My goal is the automatic placement of holograms on the floor, on the wall and on surfaces (e.g. table, chair).
I took a look at the spatial understanding scene in Holotoolkit example, in particular on the actions associated to the menu (finding empty places on floor / wall / surfaces).
Is this the only example available of spatial understanding?
This example seems to be pretty defined to draw lines to create holograms, and I'm looking for something for placing gameobjects. Also, not a lot of documentation is available that explain how it works in detail.

Thanks in advance

Tagged:

Answers

  • Hi einstyle,

    Did you try to use a "TapToPlace" ? If i'm not miss-understanding your problem, this gives you what you looking for.
    This script provide to a GameObject (with a collider!) the capabilities when you "AirTap" (click) on it to follow your gaze while he will follow every surface your gaze gonna meet. Also be carefull of the "Pivot" position of your Object , this is this one the who's gonna touch surfaces.

    I hope I've helped you, let me know it,

    Kent1LG

  • I've been using tap to place until now.

    What I want to do as next step (the purpose of this question) is to automatically place holograms once the app is started. The user won't place them, they're automatically placed in empty spaces of the room.

  • Ok i see what you mean, but what the conditions for the placement ?
    It's surely possible to position at the first plane surface you have front of you.
    I think the real difficulty it's to place at the beginning of the application, because you don't have immediatly a spatial mapping.
    I adviss you to see the MR academy 240 (Sharing Services) ,
    one part talk about automatic placement front of the user.

    Kent1LG

Sign In or Register to comment.