Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras > API/Plugins/NetworkPredictionExtras/UMockRootMotionComponent
Description
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)
| Name | PlayRootMotionSource |
| Type | function |
| Header File | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockRootMotionComponent.h |
| Include Path | #include "MockRootMotionComponent.h" |
| Source | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Private/MockRootMotionComponent.cpp |
UFUNCTION (BlueprintCallable, Category=Animation)
void PlayRootMotionSource
(
UMockRootMotionSource * Source
)