I’ve made a Sensor class that
- can easily add touch sensing to your objects.
- is robust and easy to expand.
Here is the code:
https://gist.github.com/anonymous/492b716736432efeae4c.
[edit] better drag n drop management https://gist.github.com/anonymous/c01bc7d085daefdc5976
video:
http://www.youtube.com/watch?v=lRU69mH_YZE