FloatCurve:GetValueAtTime() produces incorrect results

I have just been attempting to implement a curve animation to keyframe animation plugin which samples inbetween keyframes for a smoother result, however it seems that when a keyframe is cubic and its tangents are automatic FloatCurve starts to produce some incorrect results. This can also be seen when using KeyframeSequenceProvider when it also converts a curve animation to a keyframe animation.

Original curve animation:

Converted animation:

A private message is associated with this bug report


We’re checking this out! We’ll update you as soon as we know more.