Forum Discussion

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

OVR Player Controller not moving after apk instalation

Hi guys, I m new to this and I'm trying to get my player to move in the environment. After I make a simple scene and drop the OVR player, when I go to play mode the screen goes black, and when I build the apk and installing it ( I get no error doing that)  I can look around but can t move. Can you please point me in the right direction.

2 Replies

Replies have been turned off for this discussion
  • If you are using OVRPlayerController, you need to use the right thumbstick of a gamepad such as the EI-GP20 to move it around.
  • Thanks, for the response. Is there any way I can do it just with the gear vr touch pad?
    I found something online like 

    Oculus Utilities for Unity

    Another option if you’ve installed the Oculus utilities, you will find a class for GearVR input:

    OVR/Moonlight/Scripts/OVRTouchpad.cs.

    Documented here.

    To use it, you need to create it on startup somewhere:

    OVRTouchpad.Create();

    And actually this is already done for you by the OVRManager in your scene.

    To get events, you register for touch events:

        void Start()
        {
            OVRTouchpad.TouchHandler += HandleTouchHandler;
        }
        
        void HandleTouchHandler (objectsender, System.EventArgs e)
        {
            // Handle events
        }

    These events are currently limited to  SingleTap, Left, Right, Up,  and Down.

    I don t know how to implement this.
    Should I just copy paste in the OVRtouch pad.cs. or need to go somewhere specific?
    Really appreciate the help!