RunTime RootMotion Extraction

Hi Everyone, I’m currently developing my custom movement component, and i’m trying to incorporate Root Motion driven movement to it. I know UE’s Character Movement Component features runtime Root Motion extraction, so i looked at the code but i couldn’t find any function that could lead me into how it is done.

Any help is appreciated.

Hi,

The root motion extraction and velocity calculation is done in PerformMovement function in the CharacterMovementComponent. The TickCharacterPose function extracts the transforms and accumulation is performed after that. The velocity calculation is the last step.

regards,