0

In Unity 5.3.3, how do you get the Gear VR touchpad to move a character/rigidbody?

John Reynolds
  • 79
  • 1
  • 2
  • 10

1 Answers1

0

Maybe this is what you want: Interaction in VR

The Gear VR has a touchpad on the side of the HMD. This appears as a mouse to Unity, and so we can use the following:

  • Input.mousePosition
  • Input.GetMouseButtonDown
  • Input.GetMouseButtonUp

With Gear VR we also need to get swipe data from the touchpad. We’ve included a sample script called VRInput which deals with swipes, taps, and double-taps. It also allows directional arrows and Left-Ctrl (Fire1 in Unity default input terms) on a keyboard (or Left Mouse button) to trigger swipes and taps.

tim
  • 1,454
  • 1
  • 25
  • 45