- Home /
Question by
MarkusKarlsson · Oct 29, 2016 at 09:24 PM ·
buttonmobilecontrolleraxisjoystick
How to know if finger is on joystick if it is at horizontal & vertical zero
I'm creating a jetpack (mobile) controller where left joystick is used to control forward and backward movements and right joystick is used to control rotation and upward movements. What I want is player to go upwards whenever user is touching the right joystick even if horizontal && vertical axes both return zero. So if there is a finger on the right joystick player goes up, similar to GetButton or GetKey(some keycode).
Comment
Your answer
Follow this Question
Related Questions
Gamecube Controller joystick axis does not work? 0 Answers
Porting simple game to android (Problem -> Controller) 0 Answers
360 Trigger Pressing both Triggers at the same time 1 Answer
MobileSingleStickControl is not what I expected. 0 Answers
How to get input of PS3 controller's R2 or L2 buttons? 1 Answer