Motion Matching Root Smoothing Tool

Hey Folks,

I made a tool to get animation sequences ready for use in Motion Matching: GitHub - Hollywood-Camera-Work/Motion-Matching-Prep

Animation sequences actually need a lot of work to be suitable for Motion Matching. It’s not good enough to simply project the pelvis down to root. Since the character and trajectory move in pretty, straight lines and curves, the animation is expected to do the same. Observe the root motion in the animation sequences in the Game Animation Sample. It’s very pretty.

With messy root motion, Pose Search has a harder time finding poses, and ground contact is worse because wobbly root motion is played back on a character moving in a straight line, requiring more heavy-handed IK foot planting.

This tool completely reshapes root motion in animation sequences. It composes a new root motion from clusters of bones that better matches the center of gravity, smooths it, and reduces smoothing around speed/orientation changes. It also regenerates a more stable orientation from the actual forward direction of the torso as a whole.

This is not a finished product, just good enough for what we needed. Anyone is welcome to help make it better. MIT License.

Per