I recently follow an advanced locomotion tutorial and generate the distance curve by using Distance Curve Modifier for the root animation. Here is what I have reproduced in Lyra Starter Project as well:
Download the Lyra starter project from fab.
Find the “MM_Rifle_Jog_Stop” animation and duplicate it to another folder to do the test.
Open the duplicated animation and delete the Distance curve under the “Curves”.
Re-apply the “Distance Curve Modifier” in animation modifiers window.
Actual result: The curve is a flat straight line.
Current workaround solution is generate the animation curves in UE5.5 and migrate the animations to the UE5.6 project. I think it may be a bug from the Animation Modifier Library.
so I’ve tried it with 5.5 and that has the same issue as 5.6, but making the curves in the lyra starter project in 5.5 works fine. So there is something in the lyra start project that is causing the curves to work, hrmm.
It may take a while before an official fix is available. I’ve resolved this issue already. Just copy the two C++ files from my repository to your project and compile them. Using EastingDistanceCurve will generate the Distance curve properly.
1.Convert the project to a C++ project,.
2.Add the following three modules"AnimationModifiers, AnimationModifierLibrary, AnimationBlueprintLibrary".
3.Delete or backup the folders “Binaries,Intermediate,DerivedDataCache,Saved”.
4.Put the files “.h .cpp” into the folder “Your Project\Source"Your Project Name Folder”“.
5.Right click “Your project name”.uproject,and select "Generate Visual Studio project files”.
6.Open “Your project name”.sln with visual studio,select “Build\Rebuild Solution”.Wait until it is completed.
7.Now you will see the new option “Easting DistanceCurve” in “Animation Data Modifiers”.
Thanks for the reply, unfortunately there I have found there are much more animation modifiers I need to work. So even if I changed up my project, it wouldn’t help me currently. Just going to have to wait for it to be fixed.