Forum Discussion
Anonymous
9 years ago[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).
1 Reply
Replies have been turned off for this discussion
- AnonymousOkay 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;
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device