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
- FRigUnitMutable
- FRigUnit_HighlevelBaseMutable
- FRigUnit_AimConstraintLocalSpaceOffset
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Highlevel/Hierarchy/RigUnit_AimBone.h |
| Include | #include "Units/Highlevel/Hierarchy/RigUnit_AimBone.h" |
Syntax
USTRUCT (Meta=(DisplayName="Aim Constraint", Category="Constraints", Keywords="Lookat, Aim"))
struct FRigUnit_AimConstraintLocalSpaceOffset : public FRigUnit_HighlevelBaseMutable
Remarks
Orients an item such that its aim axis points towards a global target. Note: This node operates in global space!
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRigUnit_AimConstraint_AdvancedSettings | AdvancedSettings | ||
| FVector | AimAxis | Child is rotated so that its AimAxis points to the parents | |
| bool | bIsInitialized | ||
| bool | bMaintainOffset | Maintains the offset between child and weighted average of parents based on initial transforms | |
| FRigElementKey | Child | The name of the item to apply aim | |
| FCachedRigElement | ChildCache | ||
| FFilterOptionPerAxis | Filter | Filters the final rotation by axes based on the euler rotation order defined in the node's advanced settings If flipping is observed, try adjusting the rotation order | |
| TArray< FCachedRigElement > | ParentCaches | ||
| TArray< FConstraintParent > | Parents | ||
| FVector | UpAxis | Child is rotated around the AimAxis so that its UpAxis points to/Aligns with the WorldUp target | |
| float | Weight | ||
| FRigUnit_AimConstraint_WorldUp | WorldUp | Defines how Child should rotate around the AimAxis. This is the aim target for the UpAxis | |
| FCachedRigElement | WorldUpSpaceCache |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |