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"
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"