Class providing various IK solutions. Feet IK is
More...
Class providing various IK solutions. Feet IK is
Definition at line 79 of file MyAnimationInverseKinematics.cs.
void VRageRender.Animations.MyAnimationInverseKinematics.Clear |
( |
| ) |
|
|
inline |
void VRageRender.Animations.MyAnimationInverseKinematics.ClearCharacterOffsetFilteringSamples |
( |
| ) |
|
|
inline |
void VRageRender.Animations.MyAnimationInverseKinematics.RegisterFootBone |
( |
string |
boneName, |
|
|
int |
boneChainLength, |
|
|
bool |
alignBoneWithTerrain |
|
) |
| |
|
inline |
void VRageRender.Animations.MyAnimationInverseKinematics.RegisterIgnoredBone |
( |
string |
boneName | ) |
|
|
inline |
void VRageRender.Animations.MyAnimationInverseKinematics.SolveFeet |
( |
bool |
enabled, |
|
|
MyCharacterBone[] |
characterBones, |
|
|
bool |
allowMovingWithBody |
|
) |
| |
|
inline |
Solve feet positions.
- Parameters
-
enabled | Feet resolving is enabled - this is a parameter because of blending over time. |
characterBones | Character bones storage. |
allowMovingWithBody | If feet cannot reach, move the body |
Definition at line 161 of file MyAnimationInverseKinematics.cs.
static bool VRageRender.Animations.MyAnimationInverseKinematics.SolveIkCcd |
( |
MyCharacterBone[] |
characterBones, |
|
|
int |
boneIndex, |
|
|
int |
chainLength, |
|
|
ref Vector3D |
finalPosition |
|
) |
| |
|
inlinestatic |
Solve IK for chain of two bones + change rotation of end bone.
- Parameters
-
characterBones | bone storage |
ikChain | description of bone chain |
finalPosition | desired position of end bone |
finalNormal | desired normal of end bone - would be projected on plane first bone-second bone-third bone |
fromBindPose | solve this starting from the bind pose |
- Returns
- true on success
Definition at line 316 of file MyAnimationInverseKinematics.cs.
MatrixD VRageRender.Animations.MyAnimationInverseKinematics.DebugTransform |
|
static |
float VRageRender.Animations.MyAnimationInverseKinematics.RootBoneVerticalOffset |
|
get |
The documentation for this class was generated from the following file: