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.

Tap to Place error!

Could someone please tell me why it is that when I put TapToPlace script on my GameObjects they automatically bunch up on top of each other?
How do I fix it?
That you in advance!!

Tagged:

Best Answer

  • holonutholonut
    Answer ✓

    Thanks for your response. I decided to use MRDL Bounding Boxes instead of tap to place for each of the objects. This gives the ability to resize and reposition all gameobjects.

Answers

  • TapToPlace positions objects based on where you are gazing. So each object with TapToPlace active in the scene will get positioned on top of each other on top of your cursor. You will need to TapToPlace 1 object at a time if you do not want them to bunch.

    Taqtile

  • As soon as the scene starts up all of the gameobjects with taptoplace script assigned to it are bunched up. I dont understand how else I would give it this functionality then...

  • If you put a tapToPlace on 2 objects and each are set to enable on awake then both will be placed on top of your gaze when the scene starts.

    What are you trying to do? What functionality are you trying to accomplish?

    Taqtile

  • All I would like to do is the following... I have 10 gameobjects (with hundreds of child objects) within a scene that I would like to give a user the ability airtap to place around a flat gameobject using their HoloLens.

  • How do you expect the user to place the 10 objects?

    One at a time? In which case just enable the TapToPlace component on one of the objects at a time.

    Perhaps you could add a button to each object and when you air tap on the object it enables the tapToPlace on that object? Once it is placed remove or disable the taptoplace.

    Taqtile

  • holonutholonut
    Answer ✓

    Thanks for your response. I decided to use MRDL Bounding Boxes instead of tap to place for each of the objects. This gives the ability to resize and reposition all gameobjects.

Sign In or Register to comment.