Unity UI Elements and Sample Code: Shape Rotation

Reply
Avatar
by theLIFT

Hello!

Gabriel from theLIFT ( www.thelift.net ) here. Our team has been fortunate enough to have access to the Leap SDK for a while and we have been creating some fun LEAP interactions we would like to share with the community

Shape Rotation

In this sample you can use 1 to 5 fingers of your hand to rotate a shape in the center of the screen.
Rotation is fixed every 90 degrees, this can be changed to whatever you need or enable free rotation. Just move your hand to the direction you want to rotate.

This sample can also be extended to develop custom swipes gestures using fingers velocity and direction.
See sample build link above. The Unity Package will be posted in the Links & Libraries page.

Thanks.