Navigation
API > API/Plugins > API/Plugins/AnimationModifierLibrary
Adjust root motion to be relative to the first frame. Optionally cut the start and end sections of the animation that don't have motion on the root. This was written to be used when capturing Character Movement motion via Take Recorder. Take Recorder outputs an animation captured from a character moving in game in world space, and this modifier zeroes out the root. The animation can then be exported to fbx to be animated against.
| Name | UZeroOutRootBoneModifier |
| Type | class |
| Header File | /Engine/Plugins/Animation/AnimationModifierLibrary/Source/AnimationModifierLibrary/Public/ZeroOutRootBoneModifier.h |
| Include Path | #include "ZeroOutRootBoneModifier.h" |
Syntax
UCLASS ()
class UZeroOutRootBoneModifier : public UAnimationModifier
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAnimationModifier → UZeroOutRootBoneModifier
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UZeroOutRootBoneModifier() |
ZeroOutRootBoneModifier.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClipEndFramesWithNoMotion | bool | Clip frames at the end of the animation that have no root motion. | ZeroOutRootBoneModifier.h | |
| bClipStartFramesWithNoMotion | bool | Clip frames at the start of the animation that have no root motion. | ZeroOutRootBoneModifier.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnApply_Implementation
(
UAnimSequence* Animation |
ZeroOutRootBoneModifier.h |