| TwoJointIKSolverTipOffset Property |
Gets or sets the tip offset relative to the tip bone.
Namespace: DigitalRune.Animation.CharacterAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public Vector3F TipOffset { get; set; }
Public Property TipOffset As Vector3F
Get
Set
public:
property Vector3F TipOffset {
Vector3F get ();
void set (Vector3F value);
}
member TipOffset : Vector3F with get, set
Property Value
Type:
Vector3F
The tip offset relative to the tip bone; for example, the vector from the wrist to the hand
center or the vector from ankle to the bottom of a foot. The default value is a zero vector.
Remarks
If this offset is zero, the IK solver will try to move the origin of the tip bone to the
Target. For example, if the solver is used for an arm and the hand
bone is the tip bone, then the character will "grab" the target with the wrist where the
hand bone starts. The
TipOffset should be set to the offset from the wrist to
the hand center. Then the target will be grabbed correctly with the hand center and not the
wrist.
See Also