Hello, I want to start my project for my final task at college. I am using unity for creating the application and C# as the language.
The first time I learn about leap motion is on September 2014. I read and tried some c++ code of the SDK v1. But my friend suggests me to use unity. So I tried it too. It's not really hard to learn in unity. I can make an application using hand open/close as a trigger. My first project is Space Shooter from unity tutorial, but control it with Leap Motion. Here is the video link (sorry I uploaded it to my facebook).
I didn't get any acceptable topic for my final task until last month. Now, I am trying to make a 3D human anatomy that can be controlled by using leap motion. The first thing I want to do is moving the camera. I don't know how to move the camera using the hand movement. Because I think v2 is so confusing. Unlike v1, I can using finger count and another condition in the v1 script as a trigger. But, in v2 there are too many codes. I can't even understand how to make the hand is close/open as a trigger like I did in my space shooter.
If someone help me in this forum, I will keep posting my project update. Besides I really-really need some helps. Even my lecturer who lends me the Leap Motion Controller can't help me much with the codes.
So my first question here is how to detect the hand movement in v2? Because the hand transform.position will stay the same value even if the hand moves. I already tried to make a post on a related thread but I didn't get what I want.
The transform position of the hand didn't change, even though the hand is moving.
I tried using the camera script from unity standard script to make the camera always looks at another object that can be move (e.g. sphere). So when the hand touch the sphere, the camera will move too. Here is the video of my progress link. But, obviously I am not satisfied with the result.
I am sorry if my words are confusing and thank you for your reply.