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

SpatialMapping

MayeeMayee
edited June 2017 in Discussion

Can anyone help me with SpatialMapping?!?!
I have added SpatialMapping and SpatialUnderstanding prefab to my Scene. I have two gameobjects(cube and capsule) and added TapToPlace script to my cube. I could not see anything in hololens. What should be added additionally?
The name can be anything in "SavedAnchorFriendlyName"?
PlaceParentOnTap and ParentGameObjectToPlace variables can be left free??

Answers

  • Options

    You actually don't need the SpatialUnderstanding prefab to implement the TapToPlace script. Assuming you have the HoloToolKit installed, I recommend creating an empty game object and naming it "Managers". Then add the WorldAnchorManager script to your new game object and add the InputManager prefab as a child of Managers. Make sure that your two gameobjects each have a collider. Hope this helps!

  • Options

    @BenProtus Thanks for the reply.
    I have the HoloToolKit installed and followed your lines. Cube has a Box Collider and Capsule has a Capsule Collider which are already there as soon as I create 3D Objects. Even now TapToPlace is not working. Please take a look at the attachment to see my settings.

Sign In or Register to comment.