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

NearInteractionTouchable gets touch up when finger goes more than 20cm behind front surface

Open julenka opened this issue 7 years ago • 3 comments

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

  1. Import the following .unitypackage into mrtk_development latest repro.zip
  2. Open repro scene and hit play.
  3. 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

image

Your Setup (please complete the following information)

  • Unity Version 2018.3.9f1
  • MRTK Version mrtk_development

julenka avatar May 09 '19 17:05 julenka

@thalbern, I don't have much on my plate at the moment. Do you mind if I grab this one?

MenelvagorMilsom avatar May 10 '19 14:05 MenelvagorMilsom

closing since the related PR seems to be merged

Yoyozilla avatar Jul 24 '19 03:07 Yoyozilla

@julenka please reopen if you think this issue is not fixed

Yoyozilla avatar Jul 24 '19 03:07 Yoyozilla