We tried out the demos hosted by Leap Motion and were were excited by the possibilities for what could be created using the device.
What it does
Leap Motion is a small infrared device that enables users to "interact with digital content in virtual and augmented reality, Mac and PC using your hands just as you would in the real world" ( _ www.leapmotion.com _ ). Our program uses Leap Motion's functionality to simulate playing 4-wall handball. The objective of handball is to hit the ball against the back wall before the ball can bounce twice on the ground. Handball Simulator currently does not support two players, so the game is more of a challenge to keep the ball off the ground for as long as possible and a demonstration of how Leap Motion can work with physics engines. The game requires two people to run: one person to control the view and the movement of the player, and one to control the hands of the player.
How I built it
Hand-Ball Simulator combines the available assets for adding simulated hands to a unity project together with a physics engine to create a virtualization of the game of Handball.
Challenges I ran into
None of us had any previous experience with Leap Motion and most of us had very limited experience with Unity, so a majority of our time was figuring out how to add objects to the world and interact with those objects. The Leap Motion SDK is not widely used so we ran into several problems that did not have well documented solutions. One of these problems was that the Leap Motion SDK had the wrong target framework selected by default and thus our scripts would not compile, which took time to diagnose and then resolve.
Accomplishments that I'm proud of
Coming from very little experience with Leap Motion and Unity, we have all made excellent strides towards familiarity of the development process. Despite encountering several confusing roadblocks, we have managed to build a functional program from what we have learned over the past 32 hours.
What I learned
Because we had no experience with Leap Motion and very little experience with Unity, we learned a lot about how to program in a 3D space. We had to figure out how to manipulate the objects to work in 3 dimensions and learn how to use unity at the same time. We all learned just how powerful the Leap Motion can be in the right hands as well. After playing a few games to get used to the controls, we figured out that the real limitations to what can be done is only how much work you are willing to put into the project.
What's next for Hand-Ball Simulator
We hope to continue development on the Leap Motion using the base engine that we created for Hand-Ball Simulator to create all sorts of different applications. A few of the ideas that we came up with that we hope to pursue in the future are: a Jedi force simulator, a physics box in which the user can build different blocks and stack them around the world to create buildings.