I'm curious about replicating the following behavior in Unity:
When the finger is in a specific area of the screen, a game object is spawned. It follows the finger gestures and when the finger is released, the gameobject is deattached. If the finger is release with previous speed (aka swipe) the gameobject is thrown.
Can i do this with the stock library or should i search for something in the Unity Store?
asked May 28 '12 at 01:47 AM
Stock library is perfectly fine for that. Just use the regular Input.touches. Though I would avoid using touchPhases since they are somewhat slow and unreliable. Either keep track of the pressed/released state yourself or for something a bit more fancy, you could use http://technology.blurst.com/iphone-multi-touch/ .
answered May 28 '12 at 02:26 AM