Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
SundryPhotos's avatar
SundryPhotos
Honored Guest
10 years ago

Gear VR Touchpad

Hi guys, I'm having a little trouble with a VR Experience I'm designing for a friend. My design is super simple. It's an Art Gallery and I've got it done for the most part but I'm having issues when I go from PC to my Note 5. On the PC I can move around and do everything I want just fine but when I send it over to Gear VR I want to be able to use the touchpad on the side of the Gear VR to move forward backwards and side to side or if that's not possible just forward and backwards. I also want to be able to magnify but that is a completely different problem. Can somebody help me out? All the visual VR aspects are working I just stand stationary with a touchpad that doesn't work. I have the OVRPlayerController in place instead of the normal camera but beyond that I'm not sure. I manage to get a Pause Menu and the cursor to go away and come back when I need it but other then that I'm stumped. Anybody out there that can help me out.

5 Replies

Replies have been turned off for this discussion
  • I believe the touchpad acts just like a mouse in Unity.

    So you should be able to code using standard mouse functions like Input.GetAxis().
  • My issues I can't find a doc or tutorial that helps me with what to create. I'm new to scripting and Unity in general..
  • There are tons of docs and tutorial material on Unity. It sounds like your issue isn't VR, but basic game development with Unity. I would recommend going to the Unity site and looking at some of the material there. You can also search on YouTube for "unity tutorial" you will get lots of hits, or search for something more specific.
  • kavs's avatar
    kavs
    Honored Guest
    This thread has some resources about basic GearVR touchpad movement. I have a simple script on there you can toss right on a OVRPlayerController and it'll let you move around. I had all 4 directions working, but found this to be more straightforward and easy to use.

    http://forum.unity3d.com/threads/gear-v ... pt.373103/

    cybereality is right, it's handled like mouse input. Do some Unity tutorials on Input and look up some examples of how it's handled to better understand. :)