Is there a way to set curve tangents with parametric?

I’m new in UE, but have big experience in another programs such as Houdini. Please, tell me that I’m wrong, because I didn’t find where I can write parameters to setup my curve precisely. It makes me really mad… :face_with_symbols_on_mouth:

You should be able to select the tangent and move it. What is the keyframe type set to?

I want to do it by using numbers, to have equal tangnes on both points, to make my curve with more slope equently (symmetrical)

I tried to create a curve, add keys and set tangent for them via animation modifier in UE 5.5.4, but failed. I created my C++ function as below:

	IAnimationDataController& Controller = AnimationSequenceBase->GetController();
	

	TArray<FRichCurveKey> Keys = Curve->FloatCurve.Keys;
	

	for (const FRichCurveKey& OriginalKey : Keys)
	{
		FRichCurveKey NewKey = OriginalKey;
		NewKey.InterpMode = InterpMode;
		NewKey.TangentMode = TangentMode;
		
		Controller.SetCurveKey(CurveId, NewKey);
	}

Then I found the SetCurveKey() could only set key time and value.

I even tried to call

RichCurve.AutoSetTangents(0.0f);

and even re-calculate tangent, then called these functions in my animation modifier blueprint. However the UAnimationSequencerDataModel::RegenerateLegacyCurveData() was called right after the animation modifier was applied. And this function only copied the time and value of each key and reset the tangents to 0.

I’m here to complain about this. If anyone find a way out, please let me know.