ERootMotionFinishVelocityMode

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. Note that it will not clamp Z if negative (falling). it will clamp Z positive though.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback