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

Tap To Place Script Not working

I'm attempting to get the HoloToolKit TapToPlace script working.

My scene has a box with tap to place script on a cube and a basic cursor.

I also have an empty game object Called Managers with GesturManager, GazeManager, and WorldAnchorManager attached.
Spacial Mapping is in the root of the scene.

What else could be going wrong. I can see my box but i'm unable to tap it and move it.

Best Answer

Answers

  • Options

    @JD_Holo_Dev

    is the SpatialPerception capability enabled?

    Edit -> Project Settings -> Player, and under the Windows Store section, in the Publish Settings enable the SpatialPerception capability

    Alternatively, have you tried putting a Debug.log statement into the different routines like TapToPlace, GestureManager, GazeManager to see which routines and lines are being executed?

    Windows Holographic User Group Redmond

    WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
    WinHUGR YouTube Channel -- live streamed meetings

  • Options

    yes the spatial Perception is checked. When the app starts up i can see my box then spatial mapping meshes start and my box is hidden in the other room behind walls. if i turn off the mesh I still cant seem to tap on the box it still seems behind a wall.

    I havent tried debug logs yet. Ill try and report back.

  • Options
    edited November 2016

    I added the debugs to the scripts in various places. Things just magically started working. Not sure what I did though. Its working though with multiple objects around the scene.
    Thanks for your help.

Sign In or Register to comment.