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.
General getter for the joints of the hand.
Current scale of the represented hand.
void SetJointRotations ( in Quaternion[] jointRotations )
Rotates all the joints in this puppet to the desired pose.
ParametersjointRotationsArray of rotations to use for the fingers. It must follow the FingersMetaData.HAND_JOINT_IDS order.
void SetRootPose ( in Pose rootPose )
Rotates and Translate the hand Wrist so it aligns with the given pose.
It can apply an offset for when using controllers.
ParametersrootPoseThe 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.
ParametersresultStructure to copy the joints to