Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockRootMotionSimulation.h |
Include |
#include "MockRootMotionSimulation.h" |
void FinalizePose
(
const FMockRootMotionSyncState * Sync,
UAnimInstance * AnimInstance
)
Push the Sync state to the AnimInstance this is debatable - the simulation code doesn't need to call this, its really the concern of the driver (UMockRootMotionComponent) and not all potential root motion sources are going to want to set a pose.