Documentation:
https://developer-archive.leapmotion.com/documentation/v2/unity/index.html
System Requirements
- Leap Motion 2.3.1+
- Unity 5.1+
- Windows 7, Windows 8, Mac OS X
Installation
- Download the latest asset package from: https://developer.leapmotion.com/downloads/unity.
- Open or create a project.
- Select the Unity Assets > Import Package > Custom Package menu command.
- Locate the downloaded asset package and click Open.
- The assets are imported into your project.
Every development and client computer must also install the Leap Motion service software (which runs automatically after it is installed).
Using Processing
You can use the Leap Motion Java libraries in a Processing Sketch (in Java mode). This involves adding the Leap Motion files to the Processing libraries folder and importing the Leap Motion classes into the Sketch.
Setting Up the Leap Motion Libraries
To put the Leap Motion Java libraries in the Processing libraries
folder, do the following:
- Locate and open your Sketchbook folder. (The path do this folder is listed in the Processing Preferences dialog.)
- Find the folder named
libraries
in the Sketchbook folder, if it exists. Create the folder, if necessary. - Inside
libraries
, create a folder named,LeapJava
. - Inside
LeapJava
, create a folder named,library
.
5. Find your LeapSDK folder (wherever you copied it after downloading). 5. Copy the following 3 library files from LeapSDK/lib
to LeapJava/library
Mac OS X | LeapJava.jar | libLeapJava.dylib | libLeap.dylib |
Windows 32bit | LeapJava.jar | x86/LeapJava.dll | x86/Leap.dll |
WIndows 64bit | LeapJava.jar | x86/LeapJava.dll | x86/Leap.dll |
Processing 3.5.4
Library Dependencies:
Leap Motion Software v2 (2.3.1+31549)
https://developer-archive.leapmotion.com/v2?id=skeletal-beta&platform=windows&version=2.3.1.31549
https://developer-archive.leapmotion.com/unity
https://grasshopper-kale-khsa.squarespace.com/tracking-software-download
QUICK SETUP GUIDE – UNITY PACKAGE FILES (.UNITYPACKAGE)
If you prefer you can get the Ultraleap Hand Tracking Plugin for Unity using .unitypackage files. This can be helpful if you need to modify the package content. Please note that for future releases .unitypackage files will need to be updated manually.
- Ensure that you have the Ultraleap Hand Tracking Software (V5.2+) installed.
- Remove any existing Ultraleap Unity modules from your project. If you need to do this, we strongly recommend you read our guide to Upgrading to the Unity Plugin from Unity Modules.
- Download the Unity Modules package.
- Right-click in the Assets window, go to Import Package and left-click Custom Package.
- Find the Tracking.unitypackage and import it. This includes Core, Interaction Engine, and the Hands Module.
- Optionally import:
- the Tracking Examples.unitypackage for example content
- the Tracking Preview.unitypackage and Preview Examples.unitypackage for experimental content and examples. This can go through many changes before it is ready to be fully supported. At some point in the future, preview content might be promoted to the stable package, however it might also be deprecated instead. Because there is no guarantee for future support, we do not recommend using preview packages in production.