Navigation
API > API/Plugins > API/Plugins/ControlRig
Solves the two bone IK given positions Note: This node operates in world space!
| Name | FRigUnit_TwoBoneIKSimpleVectors |
| Type | struct |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
| Include Path | #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
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnit_HighlevelBase → FRigUnit_TwoBoneIKSimpleVectors
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_TwoBoneIKSimpleVectors() |
Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableStretch | bool | If set to true the stretch feature of the solver will be enabled | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| BoneALength | float | The length of the first bone. If set to 0.0 it will be determined by the hierarchy | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| BoneBLength | float | The length of the second bone. If set to 0.0 it will be determined by the hierarchy | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| Effector | FVector | The position of the effector | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| Elbow | FVector | The resulting elbow position | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| PoleVector | FVector | The position of the pole of the triangle | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| Root | FVector | The position of the root of the triangle | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| StretchMaximumRatio | float | The maximum allowed stretch ratio | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| StretchStartRatio | float | The ratio where the stretch starts | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
Functions
Public
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |