Skip to main content
November 29, 2016

[SOLVED] Swipe reverse

Hello, does anyone have an idea on how to change the ScrollRect's direction when swiping/dragging GearVR's touchpad? I'd like to move scroller's content up when swiping down and vice versa. The only solution I found that should work is to change ScrollRect's scrollSensitivity to negative value. But it doesn't work. I even tried to invert axes in Input Manager (Vertical, Mouse Y, Oculus_GearVR_DpadY).
This topic has been closed for replies.

1 reply

November 29, 2016
Okay I solved this by adding an option to Invert Swipe Y Axis in OVR Input Module and added the following code to the SwipeAdjustedPosition(...) function:
if(InvertSwipeYAxis)
delta.y *= -1;