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.
Attechment one hologram to another (only holograms)
The problem is in what my holograms can't "see" each other. I have 2 objects (sphere and cube) and one of them (sphere) can reason about environment in terms of being able to move to the place (after I tapped on it) where I'm pointing (using Spatial Mapping (code in addition *)). My aim is to attach this object which I can move to another one (cube), which is a hologram too but static. I thought that because of meshes which attached to the objects my holograms will be to see themselves but when I try to attach sphere to cube the first one just can't see cube and go through it.
- I wish it helped to find the root cause of this problem (open in Visual Studio)
Best Answer
-
stepan_stulov ✭✭✭
Hey, @AndrewMilko
TapToPlace is based on ray-casting. It casts a ray and finds an intersection with a collider within the specified layers defined by the mask. Your draggaed hologram not "seeing" the receiving hologram means the receiving hologram doesn't produce the raycast hit point, it's transparent for the raycast. This can happen for multiple reasons: no collider at all, collider in the wrong layers, some other collider on the way.
Building the future of holographic navigation. We're hiring.
5
Answers
Hey, @AndrewMilko
TapToPlace is based on ray-casting. It casts a ray and finds an intersection with a collider within the specified layers defined by the mask. Your draggaed hologram not "seeing" the receiving hologram means the receiving hologram doesn't produce the raycast hit point, it's transparent for the raycast. This can happen for multiple reasons: no collider at all, collider in the wrong layers, some other collider on the way.
Building the future of holographic navigation. We're hiring.