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.

how to change the hoverDistance of the TapToPlace script?

Hi, I would like to Change the hoverDistance (distance between object and wall) of the TapToPlace script, but i don't know how to... I have been trying it now for hours but still couldn't figure out how to...
Could someone help me?

Best regards,
miraang

Best Answer

  • dbarrettdbarrett ✭✭✭
    edited February 2018 Answer ✓

    If you're talking about the gaze distance, you control that with DefaultGazeDistance. But if you're talking about how it is placed on the wall, you should look at the GetPlacementPosition method. On the line that says return hitInfo.point you should add your offset there.

    AR Developer

Answers

  • dbarrettdbarrett ✭✭✭
    edited February 2018 Answer ✓

    If you're talking about the gaze distance, you control that with DefaultGazeDistance. But if you're talking about how it is placed on the wall, you should look at the GetPlacementPosition method. On the line that says return hitInfo.point you should add your offset there.

    AR Developer

Sign In or Register to comment.