leapmotion / LeapMotionCoreAssets

Unity Assets for Leap Motion v2 Skeletal Tracking
Apache License 2.0
166 stars 81 forks source link

Fix hand lag #112

Closed GabrielHare closed 9 years ago

GabrielHare commented 9 years ago

This PR fixes a noticeable bounce of the hand model relative to the image when time warping is used.

Related to this, the SpaceTimeAlignment scene now has a skeletal hand model that can be enabled by pressing T. In order for this to behave well, the HandController now destroys the hands it controls when disabled or destroyed. Finally, the bizarre use of lossyScale in HandController has been removed.

TO CHECK: Notice that the misalignment of skeleton with images in TimeWarp is no worse than the usual tracking lag. TO CHECK: Make sure that all desktop scenes still work as intended.