Unity + Leap Motion: 3D-Pad prototype

Hey, I’m currently trying to get into this Leap Motion stuff using their Unity SDK. To make my start less difficult I made my first project on some kind of D-Pad in 3D using XYZ axis.

For this demo I use only the position of my palm relative to my “initial position”. My app currently stores the “initial position”  after I moved my hand above the leap motion device for some frames.

If my relativ position is below a certain value the avatar crouches and if I move the palm of my hand over a certain value the character will jump. Simple.

And here is what it looks like so far. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.