ERootMotionFinishVelocityMode

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/RootMotionSource.h

Include

#include "GameFramework/RootMotionSource.h"

Syntax

enum ERootMotionFinishVelocityMode
{
    MaintainLastRootMotionVelocity    = 0,
    SetVelocity,
    ClampVelocity,
}

Values

Name

Description

MaintainLastRootMotionVelocity

Maintain the last velocity root motion gave to the character.

SetVelocity

Set Velocity to the specified value (for example, 0,0,0 to stop the character)

ClampVelocity

Clamp velocity magnitude to the specified value.