leapmotion / LeapMotionCoreAssets

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

Fix kinematichands #102

Closed GabrielHare closed 9 years ago

GabrielHare commented 9 years ago

This simplifies the hand control logic by using RigidBody MovePosition & MoveRotate. The velocity assignment code has been removed.

Because the timing alignment between Leap frames and Unity FixUpdate may vary, the effect could be an increase in velocity variation. However, the velocity assignment yielded divergent motion when the Unity frame rate was irregular... so hopefully this is a net improvement.

Things to test: