If I play an animation in a loop, each time it gets faster. What could it be?

Godot Version

4.3

Question

Well, the question is in the title. Is there any usual reason for this?

Note: the animation is in a AnimationPlayer and it changes a shader parameter

It happens that after a few days of dealing with this problem, I had to post the question immediately before being able to solve it. The thing was with the TIME in the shader. Just replaced it with a custom time uniform, updated in the _process function of my script, and reset each time the animation was called.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.