My game for a multitouch board has different elements on the screen acting like documents on a desk. I'm looking for a way to scale the object by pinching them with two fingers.
I've the intuition I have 1) to record two touch points when object is touched, 2) record their distance when both touches occur and 3)monitor their distance change when they are in touch and send this relative change to the object.
OK but how do I program this ?