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.

move a hologram across a surface

felsiskafelsiska
edited September 2016 in Questions And Answers

TapToPlace.cs and Placeable.cs moves and slides the holograms to surfaces of real world.
using same concept of locking them to a surface, how do i move them across another 3d surface without help of spatial mapping?
similar to rotating the astronaut where only 1 axis is active during navigation, this case will be disabling 1 axis during manipulation.

Tagged:

Answers

  • well, all you need to do is assign the physics layer of your object with collider to the placeable's layer mask... I had to refactor the placeable for my own purposes where I removed any 'hololens" specific stuff out of it... i.e. spatial mapping.

    Healthcare IT professional by day - Indie GameDev for UWP and mobile platforms by night

  • a simple fix would be - if you dont want to refactor placeable code - assign the layer 31 to your object.

    Healthcare IT professional by day - Indie GameDev for UWP and mobile platforms by night

  • @DanglingNeuron said:
    well, all you need to do is assign the physics layer of your object with collider to the placeable's layer mask... I had to refactor the placeable for my own purposes where I removed any 'hololens" specific stuff out of it... i.e. spatial mapping.

    thanks for replying.

    sorry didn't really get by what you meant. where do i find the placeable's layer mask?
    to assign layer 31 to object, do i need to create a new script for it?

    thanks again.

  • if I am using the GestureAction.cs which uses manipulation to move, how do I edit the script to move objects according to axis?

Sign In or Register to comment.