Unity Leap motion – hands demo
The demo combine Unity First person view controller (FPSController prefab) with Leap motion hand controller (LeapHandController prefab).
LeapHandController prefab was modified and now it contains a lot of triggers and colliders for evaluating the hands events. It allows you to touch the cubes by palm or grab the gun by touching two fingers.
The game controlling on PC is very uncomfortable but in combination with AR headset it will be more usable.
You can touch the red cubes above the table. When you touched the cube color will change to black one and gravitation of the cube is turn on – it means – cobe will fall down on the table or flore. On the other hand – if is cube touched by another cube, gravitation is still off and cube can fly by the Kinematic energy.
The second demo case contains weapon which you can grab and lose by right hand. In the same time you can shoot from this weapon by left hand. Both actions are triggered by two fingers touch.
Unity 3d application screen: