FRootMotionSourceGroup::AccumulateRootMotionVelocity

Accumulates contributions for velocity into InOutVelocity for a given type of root motion from this group

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/RootMotionSource.h"

Source

/Engine/Source/Runtime/Engine/Private/GameFramework/RootMotionSource.cpp

Syntax

void AccumulateRootMotionVelocity
(
    ERootMotionAccumulateMode RootMotionType,
    float DeltaTime,
    const ACharacter & Character,
    const UCharacterMovementComponent & MoveComponent,
    FVector & InOutVelocity
) const

Remarks

Accumulates contributions for velocity into InOutVelocity for a given type of root motion from this group