Animation Techniques used in Paragon and January Game Jam Theme Announcement - Live From Epic HQ

After a long time I’ve actually finally gotten back to the curve lookup and marker stuff.

The function above has proven extremely valuable, I ran into a different issue - how the hell do I get the animation curve out of my montage / animation?

This ended up working but I am not quite sure if it’s the right approach. Any confirmation from Epic would be grand.


float FindPositionFromDistanceCurve_BP(const FName AnimationCurveName, const float& Distance) const
{
	for (FFloatCurve& FC : CurrentAttackMontage->RawCurveData.FloatCurves)
	{
		if (FC.Name.DisplayName == AnimationCurveName)
		{
                        //This is the function from above.
			return FindPositionFromDistanceCurve(FC, Distance);
		}
	}

	return 0.f;
}