Skip to content

A PLAY EXPERIENCE MAKER'S WORK LOG FOR FUTURE SELF©2001 – 2023 Kyle Li 李肅綱 All Rights Reserved.

Leap Motion

Posted on February 23, 2022February 24, 2022 by admin

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

  1. Download the latest asset package from: https://developer.leapmotion.com/downloads/unity.
    1. https://github.com/ultraleap/UnityPlugin/releases/
    2. Ultraleap.UnityPlugin-5.3.0 (02/23/2022)
  2. Open or create a project.
  3. Select the Unity Assets > Import Package > Custom Package menu command.
  4. Locate the downloaded asset package and click Open.
  5. 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:

  1. Locate and open your Sketchbook folder. (The path do this folder is listed in the Processing Preferences dialog.)
  2. Find the folder named libraries in the Sketchbook folder, if it exists. Create the folder, if necessary.
  3. Inside libraries, create a folder named, LeapJava.
  4. 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 XLeapJava.jarlibLeapJava.dyliblibLeap.dylib
Windows 32bitLeapJava.jarx86/LeapJava.dllx86/Leap.dll
WIndows 64bitLeapJava.jarx86/LeapJava.dllx86/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.

Posted in Experiements

Post navigation

NEWVIEW AWARDS 2021
Card Swipe

Recent Posts

  • BMP – Rearrange Colormap
  • Reset Allow USB Debugging? Notification
  • 8-bit Notes
  • AT29C256 90PI
  • Super-Toys Last All Summer Long

Archives

Proudly powered by WordPress | Theme: MiniZen by Martin Stehle.