RiggedHandΒΆ

The RiggedHand script is used with the human-like hand prefabs as well as the image hand prefab. It updates the hand pose by changing the orientations of the bones in a graphics model. The model itself is rotated and positioned based on the palm position.

unity/../../../images/unity/Unity_ImageHand.png

ImageFullHand

unity/../../../images/unity/Unity_PepperDarkCutHand.jpg

PepperDarkCutHand

unity/../../../images/unity/Unity_SaltLightHand.jpg

SaltLightHand

unity/../../../images/unity/Unity_SaltMediumFullHand.jpg

SaltMediumFullHand

class RiggedHand

Public Functions

override void InitHand()

Implement this function to initialise this hand after it is created.

This function is called by the HandController during the Unity Update() phase when a new hand is detected by the Leap Motion device.

override void UpdateHand()

Implement this function to update this hand once every game loop.

For HandModel instances assigned to the HandController graphics hand list, the HandController calls this function during the Unity Update() phase. For HandModel instances in the physics hand list, the HandController calls this function in the FixedUpdate() phase.