Simple motion matching implementation in Unity
Preview video
Currently the system only match trajectory but can be extended easily if you want it to match specific bone or entire pose.
You need:
- Set of locomotions animations.
- Character with animators
QuickStart:
- Create your animation library in asset window right click and Create/MotionMatching/AssetLibrary
- Fill your animation clips in the animations list
- Drag and drop your character
- Add following components to your character: SampleMotionMatching, MMAgent, MMService
- Fill in required field like LineRenderer, Camera, Curves (just linear will do but feel free to experiment with it).