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

Detect collision when hit by a real world object

Hello all,

I have created Holo objects (cubes,etc.) in Unity3D. I have used spatial mapping settings for the holo objects to get occluded in the real-world environment. But, when I tap and move the object, the object passes through the real world object (such as a wall).
Is there a way that I can stop the holo object from moving through the wall when it detects a real-world collision? How do I achieve this?

Thank you

Answers

  • Options
    dbarrettdbarrett ✭✭✭

    Add spatial mapping and understanding to your hierarchy and colliders to your Holograms. Spatial understanding will create a tight clean mesh that will allow for your holograms to collide with. Spatial mapping alone will work fine if you are dealing with significantly bigger objects however, for smaller objects you will want to use Spatial Understanding.

    AR Developer

Sign In or Register to comment.