Simple 2 Bone IK Controller. 更多...
#include <AnimNode_TwoBoneIK.h>
继承自 FAnimNode_SkeletalControlBase .
Public 成员函数 | |
| virtual void | GatherDebugData (FNodeDebugData &DebugData) override |
| Called to gather on-screen debug data. 更多... | |
| virtual void | Initialize_AnyThread (const FAnimationInitializeContext &Context) override |
| Called when the node first runs. 更多... | |
Public 属性 | |
| uint8 | bAllowStretching:1 |
| Should stretching be allowed, to be prevent over extension | |
| uint8 | bAllowTwist: 1 |
| Whether or not to apply twist on the chain of joints. 更多... | |
| uint8 | bMaintainEffectorRelRot: 1 |
| Keep local rotation of end bone | |
| uint8 | bTakeRotationFromEffectorSpace: 1 |
| Set end bone to use End Effector rotation | |
| FVector | EffectorLocation |
| Effector Location. 更多... | |
| TEnumAsByte< enum EBoneControlSpace > | EffectorLocationSpace |
| Reference frame of Effector Location. | |
| FBoneReference | IKBone |
| Name of bone to control. 更多... | |
| FVector | JointTargetLocation |
| Joint Target Location. 更多... | |
| TEnumAsByte< enum EBoneControlSpace > | JointTargetLocationSpace |
| Reference frame of Joint Target Location. | |
| float | MaxStretchScale |
| Limits to use if stretching is allowed. 更多... | |
| float | StartStretchRatio |
| Limits to use if stretching is allowed. 更多... | |
| FAxis | TwistAxis |
| Specify which axis it's aligned. 更多... | |
Simple 2 Bone IK Controller.
|
overridevirtual |
Called to gather on-screen debug data.
This is called on the game thread.
| DebugData | Debug data structure used to output any relevant data |
重载 FAnimNode_Base .
|
overridevirtual |
Called when the node first runs.
If the node is inside a state machine or cached pose branch then this can be called multiple times. This can be called on any thread.
| Context | Context structure providing access to relevant data |
重载 FAnimNode_Base .
| uint8 FAnimNode_TwoBoneIK::bAllowTwist |
Whether or not to apply twist on the chain of joints.
This clears the twist value along the TwistAxis
| FVector FAnimNode_TwoBoneIK::EffectorLocation |
Effector Location.
Target Location to reach.
| FBoneReference FAnimNode_TwoBoneIK::IKBone |
Name of bone to control.
This is the main bone chain to modify from.
| FVector FAnimNode_TwoBoneIK::JointTargetLocation |
Joint Target Location.
Location used to orient Joint bone.
| float FAnimNode_TwoBoneIK::MaxStretchScale |
Limits to use if stretching is allowed.
This value determins what is the max stretch scale. For example, 1.5 means it will stretch until 150 % of the whole length of the limb.
| float FAnimNode_TwoBoneIK::StartStretchRatio |
Limits to use if stretching is allowed.
This value determines when to start stretch. For example, 0.9 means once it reaches 90% of the whole length of the limb, it will start apply.
| FAxis FAnimNode_TwoBoneIK::TwistAxis |
Specify which axis it's aligned.
Used when removing twist