The new shinny and improved FingerGestures has finally arrived!Existing users: please read the Upgrade Instructions below before installing!Main Changes
- Major rewrite aimed at simplifying the setup and use of FingerGestures in your projects
- New fully component-driven architecture based around GestureRecognizers and FingerEventDetectors
- Gesture and finger input events can now also be fired as with Unity's SendMessage approach (this can be disabled). These events can also be forwarded to the objects being interacted with.
- Custom Gesture Recognizer with built-in editor (see PointCloudRecognizer)
- Added support for simultaneous multi-finger gesture recognition via the FingerClusterManager component (does not support pinch and twist yet though).
- Built-in support for object-picking via the ScreenRaycaster component (supports thick raycasts and multiple cameras)
- Improved overall gestures responsiveness
- Added support for PlayMaker
- Option to adjust pixel distances to account for retina displays on iOS
- Automatic detection of Unity Remote at runtime
- Twist gesture emulation on desktop using CTRL + Mousehweel (by default)
- Every GestureRecognizer now has its own custom inspector with help tooltips and clean properties layout
- Added Finger.ExtendedProperties map for per-finger user-provided properties
- Updated the swipe gesture to support diagonals and expose the swipe motion vector
- Added finger "Hover" event detection for when a finger enters or exit an object (see FingerHoverDetector)
- Toolbox: Added TBPinchToScale and TBTwistToRotate scripts for object-based scaling and rotation
- Toolbox: Added a drag-based first-persona camera controller (TBDragView & TBLookAtTap - think "google street view")
- Toolbox: Updated TBDrag to work properly with rigidbodies
- Updated samplesKnown Issues
Here are some known issues that will get fixed very soon:
- The TBOrbit sample has some debug code and is missing the sample navigation bar
- It's possible to get an ArgumentOutOfRangeException when using Unity Remote and using FingerEventDetectors
- A Unity issue with using generic type derived from another type of the same name (GestureRecognizer) can cause scene deserialization problems.Documentation
A new set of docs is available online at http://fingergestures.fatalfrog.com/docs
. I'm actively adding to it as we speak, so check back often for more content.
Make sure you to check out the new quickstart tutorial
as it will give you a good overview of the new FingerGestures.Upgrade Instructions
This version is major rewrite of the entire library and it was impossible to maintain backward compatibility with previous versions of FingerGestures. You will get many errors if you simply overwrite your existing FG installation with this new version.
All of the global static gesture and finger events on the FingerGestures singleton have been removed and you should now be using the various GestureRecognizer and FingerEventDetector components to detect specific gesture and finger input events. Please take a look at the quickstart tutorial
to get a better idea of how to use this new version.
To upgrade to this new version of FingerGestures, you should first remove any previous version you have installed in your project by deleting the corresponding root FingerGestures folder, and then import the new version of the package (see: Installation