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.

Holograms 101 - Origami running success, but when adding more ...

Hi,
First, I'm not really a unity guy. I have successfully running Origami. However, next step, I want to add more contents into scene. So I started with the Flying crane coming with the demo code. I found my cursor can't hit most of the Crane. As you can see the following picture. My cursor is working with given objects in tutorial. But when I drag crane to the scene, the cursor can only hit the right wing, but not the rest part of crane. I also tried add 3rd party free prefab object, they will not get hit by cursor at all. But if I just simply add a cube into the scene, it will hit that cube. Can you please help me understand how I can get any 3rd party object get hit by the world cursor (when spatial mapping is enabled). Thanks.

101.jpg 112.1K

Comments

  • Most likely you need to add a 'mesh collider' component to your game object. You can do this in the inspector in unity. In some cases (like the astronaut in the gaze course) there are multiple meshes in the object and each will need to have a mesh collider added.

    ===
    This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.

    (Daddy, what does 'now formatting drive C:' mean?)

  • Thank you, Patrick. This is what I did in project. Can you please take a look if it is correct? With this setting, I'm still getting the exact the same result.

  • I had to tinker around a bit, I'm getting closer (the animation isn't updating the mesh collider).

    ===
    This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.

    (Daddy, what does 'now formatting drive C:' mean?)

  • Thanks, Patrick. Now cursor is hitting the most part of crane. I'm seeing it is hitting the bot of wings but not top of wings, but I guess it's ok.

    Also, I verified it while animation is playing and cursor is indeed hitting crane too. This is perfect. Thanks!

Sign In or Register to comment.