How do you make dragging mobile interfaces?

I need to set up a system so that I can rotate the steering wheel by actually rotating it with a finger and do you can change the amount of throttle by pushing the pedal higher. The problem is I cant seem to find a way to keep track of which touch input goes where so I cannot tell if someone is no longer using the pedal or no longer using the steering wheel. Do you guys have any ideas?

2 Likes

OK I think I solved it. For anyone else who does not know the answer, the input object in TouchStarted is the same as the one in TouchEnded.

1 Like