MixedRealityToolkit-Unity
MixedRealityToolkit-Unity copied to clipboard
NearInteractionTouchable gets touch up when finger goes more than 20cm behind front surface
Describe the bug
NearInteractionTouchables will always get a TouchUp or PointerUp event when a finger goes more than 5 cm behind a surface, even if a collidable is actually much larger.
To reproduce
- Import the following .unitypackage into mrtk_development latest repro.zip
- Open repro scene and hit play.
- Move finger forward into the collider and watch the cube and output window (it will output time of touch down / up events, as well as change cube color)
Expected behavior
I should only get a touch up event when I leave the back of the collider
Actual behavior
I get a touch up event as soon as I'm 0.2m away from front of collider, even though my collider is huge.
Screenshots

Your Setup (please complete the following information)
- Unity Version 2018.3.9f1
- MRTK Version mrtk_development
@thalbern, I don't have much on my plate at the moment. Do you mind if I grab this one?
closing since the related PR seems to be merged
@julenka please reopen if you think this issue is not fixed