microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6.01k stars 2.12k forks source link

Port over Tap-to-Place feature from HoloToolkit #4515

Closed lukastoenneMS closed 4 years ago

lukastoenneMS commented 5 years ago

Describe the problem

HoloToolkit has a Tap-to-Place feature that is missing in MRTK: https://github.com/microsoft/MixedRealityToolkit-Unity/blob/htk_release/Assets/HoloToolkit/SpatialMapping/Scripts/TapToPlace.cs

Describe the solution you'd like

Reimplement the Tap-to-Place feature in MRTK.

DrewLovejoy commented 5 years ago

Not sure if this is helpful to anyone, but I figured out a decent work around until this script is available. I used the "Interactable" script and the "Orbital" solver components.

I then did a little bit of configuring to make it work how I want it to: