Leap Box2D Demo + Code
Our team has been playing around with the Leap and wanted to provide a small code sample that shows one way to showcase how something simple can still feel totally immersive. This example shows how to access some basic data and then play with hand/finger position and velocity. These properties can then be attributed to the control of anything on screen.
Try the sample binary HERE
And code can be found HERE
Feel free to use the code as a starting point or as it's own simple project. Would love to see other code examples that show off the power and beauty of simplicity!
Can you post some video? I can't really understand how to use...
Thanks!
Hi Sidan,
It's just a simple box2d example. You move your hand around and the velocity of your hand affects the circle, which slides into a bunch of tiny objects.
Similar to this:
https://vimeo.com/62729803
Hi Wikso,
We do not have a Windows build for the demo at this time. Thank you for the idea though. Perhaps we will attempt it for this build, or possibly another one in the near future.