Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Highlevel > API/Plugins/ControlRig/Units/Highlevel/Hierarchy
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnit_HighlevelBase
- FRigUnit_TwoBoneIKSimpleVectors
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
| Include | #include "Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Basic IK Positions", Category="Hierarchy", Keywords="TwoBone,IK", NodeColor="0 1 1"))
struct FRigUnit_TwoBoneIKSimpleVectors : public FRigUnit_HighlevelBase
Remarks
Solves the two bone IK given positions Note: This node operates in world space!
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableStretch | If set to true the stretch feature of the solver will be enabled | |
| float | BoneALength | The length of the first bone. If set to 0.0 it will be determined by the hierarchy | |
| float | BoneBLength | The length of the second bone. If set to 0.0 it will be determined by the hierarchy | |
| FVector | Effector | The position of the effector | |
| FVector | Elbow | The resulting elbow position | |
| FVector | PoleVector | The position of the pole of the triangle | |
| FVector | Root | The position of the root of the triangle | |
| float | StretchMaximumRatio | The maximum allowed stretch ratio | |
| float | StretchStartRatio | The ratio where the stretch starts |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |