API reference
API reference
Select your platform
No SDKs available
No versions available

HandPuppet Class

Extends MonoBehaviour
This class is a visual representation of a rigged hand (typically a skin-mesh renderer) that can move its position/rotation and the rotations of the joints that compose it.
It also can offset the rotations of the individual joints, adapting the provided data to any rig.

Properties

General getter for the joints of the hand.
Current scale of the represented hand.
JointCollection JointsCache[Get]

Member Functions

Rotates all the joints in this puppet to the desired pose.
Parameters
jointRotations
Array of rotations to use for the fingers. It must follow the FingersMetaData.HAND_JOINT_IDS order.
Rotates and Translate the hand Wrist so it aligns with the given pose.
It can apply an offset for when using controllers.
Parameters
rootPose
The Wrist Pose to set this puppet to.
Copies the rotations of all the joints available in the puppet as they are visually presented.
Note that any missing joints are skipped.
Parameters
result
Structure to copy the joints to
Did you find this page helpful?
Thumbs up icon
Thumbs down icon