Question by
pigaroos · Jan 25, 2019 at 02:59 PM ·
uitouch controls
Joystick doesn't work properly on the left half of the screen
I've made a script that changes the joystick's position to the touch position, but: -when the joystick is to the right of the screen the handle works fine, but when the joystick is to the left the handle works as if your finger was way to the left, and have to move your finger way to the right to offset it.
Any guidance would be appreciated, and thanks in advance!!
EDIT: I think it has to do with anchored position.
screenshot-307.png
(38.2 kB)
Comment
Your answer
Follow this Question
Related Questions
How to create touch controls depending on the touch position? 1 Answer
Input System On-Screen Button doesn't work with touchscreen 2019.3.2f1 0 Answers
Script to run on tap, exempt in area. 0 Answers
UI blocking 0 Answers
How can I make mobile UI buttons fire when first touched rather than released? 0 Answers