NOTE: The current version of this asset (1.21) is not compatible with the latest Leap Motion Orion Core Assets (4.1.0), please use the older 4.0.2 version of the core assets for the moment. The latest version (1.3) REQUIRES core assets 4.1.0, and should be available on the asset store in the next few days.
This is a simple extension to the Leap Motion set of assets which allows you to control the actual hands of your properly rigged humanoid character avatar.
This is a more immersive option than the default disembodied HandController provided by Leap Motion.
It is particularly useful when creating first person games, especially when working with the Oculus Rift or HTC Vive, or when playing in a networked multiplayer setting.
The arms of your avatar will be moved via Inverse Kinematics. As such, unfortunately this package is only suitable for users with Unity Pro.
Leap Motion controller
Unity Pro 5.3+ for Leap Motion Orion
Leap Motion Orion Core Unity assets (4.1.0)
For older Leap Motion V2 and Unity 4.6 support please contact me.
Installation Instructions for Orion (after1.2)
Installation Instructions for V2 (before 1.2)
Frequently Asked Questions
Q: The arms are doing unrealistic things, like clipping through the body. How do I fix this?
A: Try repositioning the IKLeapHandController GameObject relative to the avatar. It may simply be positioned too close/far/high/low. Look at how your arm is positioned/outstretched in the real world and compare it to how it looks in the gameworld… adjust the position of the Game Object until they’re quite similar, and you should get better IK results.
Q: How can I use this system in a networked multiplayer game?
A: I haven’t tried to do this myself, but it should be possible to use network interpolated transforms for each of the arm and finger joints. The problem will be optimisation, because that’s a lot of transform data to be sending on a routine basis. Sufficiently experienced programmers with a good understanding of game networking should be able to solve this problem quite comfortably, but I wouldn’t recommend it for beginner or even intermediate game developers.
Q: Something seems to be broken in the package, but the package isn’t updated yet. How can I get faster access to bug fixes?
A: The Unity Asset Store takes about 1 week to review any updates to assets and approve them for the store. Email me (vanmanivan AT hotmail DOT com) the invoice number from your Asset Store Invoice that you used to purchase the asset. I’ll email updates to you directly, as soon as they’re ready!
Q: How can I get more help?
A: Email vanmanivan AT hotmail DOT com and I will try my best to help you! Fair warning, I am a super busy guy, doing this in my spare time around full time work and a young child, but I usually respond to queries within the day.
Q: You’re my hero. How can I keep up to date with what you’re doing?
A: Follow me on Twitter (see the sidebar), and read my blog (this website)!
Q: It’s giving me all kinds of errors about RiggedHands and whatever else.
A: Make sure you first installed the Leap Motion Orion Core Assets (currently 4.1.0) and then installed this LeapAvatarHands package (currently 1.3). Basically you have to use the right version of the Leap Avatar Hands package matched with the right version of Leap Motion assets. You probably have the wrong version of one of them. This is unavoidable, the Leap Motion guys keep changing their package so I have to keep changing my package to support their changes. Usually this is minor, but sometimes it’s a showstopper and it takes me a little while to get the fix done. Contact me if you’re unsure what’s going on.