Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Gear VR touchpad - "HandleDown -> rotate camera (look around) -> HandleUp" detect "Swipe"

$
0
0
Hello,

In one script for Gear VR I am detecting tap (touch the touchpad) and swipe (swipe on Gear VR touchpad):
Tap - fire weapon (MouseDown)
Swipe - change weapon.
When camera don't rotate (player don't look around), everything is OK.

But when player touch the touchpad - Fire (HandleDown), then rotate head and then release touch (HandleUp), script detects it as a swipe.
Similar as MouseDown -> movement with mouse (look) -> MouseUp.

Could you help me, how to prevent from detecting swipe,...

Gear VR touchpad - "HandleDown -> rotate camera (look around) -> HandleUp" detect "Swipe"

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>