A very simple motion matching implementation example in Godot 4.3, that allows for both strafe and non strafe movement, implemented following Dan Holden's article.
MMAnimationLibrary
: a Resource that holds not only a list of animations, but also all the extracted features data for every frame, as well as their statistics data.MMFeature
: an Resource that describes data used to match movement to a specific animation frame. You can find implementation examples src/features
.MMAnimationPlayer
: an animation player that supports inertialization to transition between animations. Its it also used to make queries to a MMAnimationLibrary
.MMController
: A simple 3rd person controller, that also generates trajectories used for motion matching queries.MotionMatcher
: Coordinates fetching query information from MMController
and transitioning to the resulting animation.MMBoneDataFeature