All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Public Attributes | Properties | List of all members
Finger Class Reference

Contains a LimbIK solver and some additional logic to handle the finger. More...

Public Member Functions

bool IsValid (ref string errorMessage)
 Is this finger setup valid? More...
 

Public Attributes

float weight = 1f
 Master Weight for the finger. More...
 
float rotationWeight = 1f
 The weight of rotating the finger tip and bending the finger to the target. More...
 
DOF rotationDOF
 Rotational degrees of freedom. When set to 'One' the fingers will be able to be rotated only around a single axis. When 3, all 3 axes are free to rotate around. More...
 
bool fixBone1Twist
 If enabled, keeps bone1 twist angle fixed relative to bone2. More...
 
Transform bone1
 The first bone of the finger. More...
 
Transform bone2
 The second bone of the finger. More...
 
Transform bone3
 The (optional) third bone of the finger. This can be ignored for thumbs. More...
 
Transform tip
 The fingertip object. If your character doesn't have tip bones, you can create an empty GameObject and parent it to the last bone in the finger. Place it to the tip of the finger. More...
 
Transform target
 The IK target (optional, can use IKPosition and IKRotation directly). More...
 

Properties

bool initiated [get, set]
 Has the finger properly initiated (in play mode only)? More...
 
Vector3 IKPosition [get, set]
 Gets or sets the IK target position if target is not used. More...
 
Quaternion IKRotation [get, set]
 Gets or sets the IK target rotation if target is not used. More...
 

Detailed Description

Contains a LimbIK solver and some additional logic to handle the finger.