Navigation
API > API/Plugins > API/Plugins/AnimationWarpingRuntime > API/Plugins/AnimationWarpingRuntime/BoneControllers
Inheritance Hierarchy
- FAnimNode_Base
- FAnimNode_SkeletalControlBase
- FAnimNode_OffsetRootBone
References
| Module | AnimationWarpingRuntime |
| Header | /Engine/Plugins/Animation/AnimationWarping/Source/Runtime/Public/BoneControllers/AnimNode_OffsetRootBone.h |
| Include | #include "BoneControllers/AnimNode_OffsetRootBone.h" |
Syntax
USTRUCT&40;BlueprintInternalUseOnly, Experimental&41;
struct FAnimNode_OffsetRootBone : public FAnimNode_SkeletalControlBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bClampToRotationVelocity | Whether to limit the offset's rotation interpolation speed to the velocity on the incoming motion Enabling this prevents the offset sliding when there's little to no rotation speed | |
| bool | bClampToTranslationVelocity | Whether to limit the offset's translation interpolation speed to the velocity on the incoming motion Enabling this prevents the offset sliding when there's little to no translation speed | |
| EWarpingEvaluationMode | EvaluationMode | ||
| float | MaxRotationError | How much the offset can deviate from the mesh component's rotation in degrees Values lower than 0 disable this limit | |
| float | MaxTranslationError | How much the offset can deviate from the mesh component's translation in units Values lower than 0 disable this limit | |
| FRotator | RotationDelta | Delta applied to the rotation offset this frame. | |
| float | RotationHalfLife | Controls how fast the rotation offset is blended out Values closer to 0 make it faster | |
| EOffsetRootBoneMode | RotationMode | The rotation offset behavior mode. | |
| float | RotationSpeedRatio | How much the offset can blend out, relative to the incoming rotation speed i.e. If root motion is rotating at 90 degrees/s, at 0.5, the offset can blend out at 45 degree/s | |
| FVector | TranslationDelta | Delta applied to the translation offset this frame. | |
| float | TranslationHalflife | Controls how fast the translation offset is blended out Values closer to 0 make it faster | |
| EOffsetRootBoneMode | TranslationMode | The translation offset behavior mode. | |
| float | TranslationSpeedRatio | How much the offset can blend out, relative to the incoming translation speed i.e. If root motion is moving at 400cm/s, at 0.5, the offset can blend out at 200cm/s |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | |||
| EWarpingEvaluationMode | Folded property accesors. | ||
| float | |||
| float | |||
| const FRotator & | |||
| float | |||
| EOffsetRootBoneMode | |||
| float | |||
| const FVector & | |||
| float | |||
| EOffsetRootBoneMode | |||
| float |
Overridden from FAnimNode_SkeletalControlBase
| Type | Name | Description | |
|---|---|---|---|
| void | EvaluateSkeletalControl_AnyThread
(
FComponentSpacePoseContext& Output, |
Evaluate the new component-space transforms for the affected bones. | |
| bool | IsValidToEvaluate
(
const USkeleton* Skeleton, |
Return true if it is valid to Evaluate | |
| void | UpdateInternal
(
const FAnimationUpdateContext& Context |
Interface for derived skeletal controls to implement use this function to update for skeletal control base |
Overridden from FAnimNode_Base
| Type | Name | Description | |
|---|---|---|---|
| void | GatherDebugData
(
FNodeDebugData& DebugData |
Called to gather on-screen debug data. This is called on the game thread. | |
| void | Initialize_AnyThread
(
const FAnimationInitializeContext& Context |
Called when the node first runs. |