com.sonosthesia.touch
v1.11.0
Published
Sonosthesia unity touch
Downloads
40
Readme
com.sonosthesia.touch
Provides a number of generic interaction mechanisms which generate channel streams.
Pointer
Uses the unity EventSystems to create, update and destroy event streams. In particular
- IPointerDownHandler
- IPointerMoveHandler
- IPointerUpHandler
- IScrollHandler
- IPointerExitHandler
- IDragHandler
- IInitializePotentialDragHandler
This is mostly suited to non immersive environments, specifically multitouch platforms such as phones and tablets. Also used for debugging and investigation purposes.
Trigger
Uses trigger callbacks generated by unity physics to create, update and destroy event streams.
This is mostly suited to XR environments with colliders being attached to actors and targets. This is currently the most developed system with affordance systems, graphs and killers which enable different trigger sources to override or inhibit each other.
Collision
Uses collision callbacks generated by unity physics to create, update and destroy event streams.
This is mostly suited to physics based system, where objects bounce off each other. It is not really suited to continuous prolonged contact, for that use the Trigger system instead.