Navigation
API > API/Runtime > API/Runtime/Engine
| Name | ERootMotionFinishVelocityMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/RootMotionSource.h |
| Include Path | #include "GameFramework/RootMotionSource.h" |
Syntax
enum ERootMotionFinishVelocityMode
{
MaintainLastRootMotionVelocity = 0,
SetVelocity,
ClampVelocity,
}
Values
| Name | Remarks |
|---|---|
| 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. |