Written own trail renderer: How to fix this stutter?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Footurist

I’ve written my own trail renderer, which is working fine, but something is causing stuttering and it has to do with the rotation_degrees of the node, that I change according to the angle of the velocity vector to the horizontal vector (ground). The problem is, that the ball’s movement is causing the rotation gaps to be too big to look smooth, I assume. You can tell the difference when it’s flying in the air (then it’s smooth). I have no idea how to work around this. Any idea?

https://files.fm/u/7fkx7grf
Node path : game/ball/trail

Thanks for all your answers!
Greetings, Footurist