Skip to main content
Inspiring
October 14, 2015

[Gear VR] Gamepad controls script ?

I thought I saw a script with gamepad controls for player's movement, but now I question myself seeing it. Is there such a script for Unity in Utils or am I imagining things?

If I am imagining things :? could someone please explain how to add gamepad's analog thumb stick controls for player's movement (in addition to already existing WASD) ? I couldn't find any tutorials online about working with mobile gamepads :roll:

Thanks!
    This topic has been closed for replies.

    13 replies

    motorsepAuthor
    Inspiring
    October 23, 2015
    Is it possible for Oculus to get http://www.amazon.com/gp/product/B00UJC ... ge_o01_s00 (silly question, I am sure it is :roll: ) and support it in the next Utils ?
    Up and Coming
    October 23, 2015
    I have one of those and use it with my GearVR apps I've built ! But I did have to remap the axis in code from memory. I'll have a look.
    Check out my Unity VR development blog: http://talesfromtherift.com @peterept
    motorsepAuthor
    Inspiring
    October 23, 2015
    "peterept" wrote:
    I have one of those and use it with my GearVR apps I've built ! But I did have to remap the axis in code from memory. I'll have a look.


    Thanks! My issue right now is that in the Editor, one axis does forward/back movement, and another does sidestep. On Android (in Gear VR) the axis that does forward/back on PC, does the same. However, the axis that does sidestep on PC, turns view on Android.

    I hold/use that gamepad vertically, like this: http://ecx.images-amazon.com/images/I/6 ... L1003_.jpg (so X axis is to move forward/back and Y axis suppose to do sidestep; presumably on the left stick?)