MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

MixedRealityTeleport needs to be able to handle not having a TeleportMarker

Open timGerken opened this issue 9 years ago • 0 comments

https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/9e9f36d99dfd91756c08694b159ed7f995045fb3/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/MixedRealityTeleport.cs#L69

If I only want to support rotation (by setting EnableTeleport and EnableStrafe to false), I also won't be assigning an object to TeleportMarker. This block of code needs a null-check.

timGerken avatar Oct 10 '17 19:10 timGerken