I have implemented touch for controller rotation. With one finger touch it works fine but when i accidentally touch second finger it alters controller rotation.
Explanation : I have character with gun and used input touch for aiming. But when i touch with other finger while i was aiming, it shift aim to other direction. I tried to use only touch 1 as input touch state but than i cannot shift aim while using button.
You can see in video if i touch with second finger it alters rotation.
i have protocol with myself to set touch10 to null(if myvariable is tocuh10 then its empty or was not pressed) . then if touch was pressed and it was myvariable was touch10 then i know that there is no other touch pressing and i set myvariable to that touch. on touch moved i check if myvariable is equal to current touch and do calculations. on release i setback myvariable to touch10.