UMockRootMotionComponent::PlayRootMotionSource

Callable by authority.

Choose your operating system:

Windows

macOS

Linux

References

Module

NetworkPredictionExtras

Header

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockRootMotionComponent.h

Include

#include "MockRootMotionComponent.h"

Source

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Private/MockRootMotionComponent.cpp

Syntax

UFUNCTION(BlueprintCallable, Category=Animation)
void PlayRootMotionSource
(
    UMockRootMotionSource * Source
)

Remarks

Callable by authority. Plays "out of band" animation: e.g, directly sets the RootMotionSourceID on the sync state, rather than the pending InputCmd. This is analogous to outside code teleporting the actor (outside of the core simulation function)