Hello there !
I am currently working on a system for stop animations to detect the right timing to start and for this I need to evaluate the float value of an animation curve (to find the right foot height for instance).
I started a quick script to do so but I can seem to understand how to find the UID of an animation curve, given I have its name.
hey, from the AnimSequenceBase you can access the FRawCurveTracks, this struct holds arrays of float, vectors of transforms curves, and from those you can simple evaluate to get your value
My only regret is that I can’t seem to find a way to get the right curve with the name and not just a number that might change depending on the anim sequence.
If you have any idea about this I take it, else well, I will have to put things in order :).
You are correct. Packing the project with Shipping build causes the curves to go missing. There are no 'With_Editor" macros involved in any of the needed class members or functions that I could find. Perhaps this happens due to cooking/compression on the animation or curve data?
UniformIndexable still doesn’t seem to fix shipping builds for me. I can get the curve’s FSmartName and UID, but UAnimSeq->RawCurveData.FloatCurves is empty.