Navigation
API > API/Plugins > API/Plugins/IKRig > API/Plugins/IKRig/Rig > API/Plugins/IKRig/Rig/Solvers
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UIKRigSolver
- UIKRig_BodyMover
References
| Module | IKRig |
| Header | /Engine/Plugins/Animation/IKRig/Source/IKRig/Public/Rig/Solvers/IKRig_BodyMover.h |
| Include | #include "Rig/Solvers/IKRig_BodyMover.h" |
Syntax
UCLASS&40;BlueprintType, EditInlineNew&41;
class UIKRig_BodyMover : public UIKRigSolver
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UIKRig_BodyMoverEffector > > | Effectors | ||
| float | PositionAlpha | Blend the translational effect of this solver on/off. Range is 0-1. Default is 1.0. | |
| float | PositionNegativeX | Multiply the NEGATIVE X translation. Range is 0-1. Default is 1.0. | |
| float | PositionNegativeY | Multiply the NEGATIVE Y translation. Range is 0-1. Default is 1.0. | |
| float | PositionNegativeZ | Multiply the NEGATIVE Z translation. Range is 0-1. Default is 1.0. | |
| float | PositionPositiveX | Multiply the POSITIVE X translation. Range is 0-1. Default is 1.0. | |
| float | PositionPositiveY | Multiply the POSITIVE Y translation. Range is 0-1. Default is 1.0. | |
| float | PositionPositiveZ | Multiply the POSITIVE Z translation. Range is 0-1. Default is 1.0. | |
| FName | RootBone | The target bone to move with the effectors. | |
| float | RotateXAlpha | Blend the X-axis rotational effect on/off. Range is 0-1. Default is 1.0. | |
| float | RotateYAlpha | Blend the Y-axis rotational effect on/off. Range is 0-1. Default is 1.0. | |
| float | RotateZAlpha | Blend the Z-axis rotational effect on/off. Range is 0-1. Default is 1.0. | |
| float | RotationAlpha | Blend the total rotational effect on/off. Range is 0-1. Default is 1.0. |
Overridden from UIKRigSolver
| Type | Name | Description | |
|---|---|---|---|
| void | AddGoal
(
const UIKRigEffectorGoal& NewGoal |
Goals | |
| UObject * | GetGoalSettings
(
const FName& GoalName |
Override to support supplying goals settings specific to this solver to outside systems for editing/UI | |
| FText | GetNiceName () |
Override to give your solver a nice name to display in the UI | |
| FName | GetRootBone () |
If solver requires a root bone, then override this to return it. | |
| bool | GetWarningMessage
(
FText& OutWarningMessage |
Override to provide warning to user during setup of any missing components. | |
| void | Initialize
(
const FIKRigSkeleton& IKRigSkeleton |
UIKRigSolver interface | |
| bool | IsBoneAffectedBySolver
(
const FName& BoneName, |
Return true if the supplied Bone is affected by this solver - this provides UI feedback for user | |
| bool | IsGoalConnected
(
const FName& GoalName |
Override to support QUERY for a connected goal | |
| void | RemoveGoal
(
const FName& GoalName |
Override to support REMOVING a goal from custom solver | |
| void | RenameGoal
(
const FName& OldName, |
Override to support RENAMING an existing goal | |
| bool | Root bone can be set on this solver | ||
| void | SetGoalBone
(
const FName& GoalName, |
Override to support CHANGING BONE for an existing goal | |
| void | SetRootBone
(
const FName& RootBoneName |
Override to support SETTING ROOT BONE for the solver | |
| void | Solve
(
FIKRigSkeleton& IKRigSkeleton, |
Override Solve() to evaluate new output pose (InOutGlobalTransform) | |
| void | UpdateSolverSettings
(
UIKRigSolver* InSettings |
Override to support RECEIVING modified solver settings from outside systems for editing/UI. |