Search Unity

Resolved MRTK HL2 Simulate TouchEvent in editor

Discussion in 'VR' started by Arkonis_Khobalt, Oct 22, 2020.

  1. Arkonis_Khobalt

    Arkonis_Khobalt

    Joined:
    May 11, 2017
    Posts:
    11
    Hello guys,
    I'm developping a swipable gallery (like the classic look and feel on smarphone) and I do not find how to simulate Touch event (to be used with IMixedRealityTouchHandler) in Editor.
    I tried to assign "Poke" action to a mouse button in MRTK Input Simulation Service but it does not trigger the touch event.
    The event works properly on HL2, but for development purpose it would be more handy to be able to test in editor without passing the compile > compile > deploy steps each time.
    Does anyone know how to achieve this ?
     
  2. Arkonis_Khobalt

    Arkonis_Khobalt

    Joined:
    May 11, 2017
    Posts:
    11
    My bad, the information I was missing is that the Hand Joint HAS TO BE VISIBLE to register MixedRealityTouch, otherwise simulated hand is only on Pointer mode even when very close to the object.