mese79/TouchControls

joystick lock

zekenaulty opened this issue · 2 comments

When using both joysticks at the sametime, one joystick or the other gets stuck. I.e. trying to rotate the camera while moving forward causes the camera rotation to stick.

As I am using these controls primarly for testing this isn't too bad, but in actual gameplay this would make the conrols unusable.

I believe using the touch id would resolve this, meaning clamp each stick to a touch id from the respective touchstart event.

+1 if anyone thought this