Maps a 3-segmented bone hierarchy to a node chain of an IK Solver More...
Public Types | |
enum | BoneMapType |
Limb Bone Map type More... | |
Public Member Functions | |
override bool | IsValid (IKSolver solver, ref string message) |
Determines whether this IKMappingLimb is valid More... | |
BoneMap | GetBoneMap (BoneMapType boneMap) |
Gets the bone map of the specified bone. More... | |
void | SetLimbOrientation (Vector3 upper, Vector3 lower) |
Makes the limb mapped to the specific local directions of the bones. Added in 0.3 More... | |
Public Attributes | |
Transform | parentBone |
The optional parent bone (clavicle). More... | |
Transform | bone1 |
The first bone (upper arm or thigh). More... | |
Transform | bone2 |
The second bone (forearm or calf). More... | |
Transform | bone3 |
The third bone (hand or foot). More... | |
float | maintainRotationWeight |
The weight of maintaining the third bone's rotation as it was in the animation More... | |
float | weight = 1f |
The weight of mapping the limb to its IK pose. This can be useful if you want to disable the effect of IK for the limb. More... | |
bool | updatePlaneRotations = true |
Disable this to maintain original sampled rotations of the limb bones relative to each other. More... | |
Maps a 3-segmented bone hierarchy to a node chain of an IK Solver