Godot Version
4.2.2
Question
I have this C# script that should blend the animations, but it just doesnt work. It works when I try it in the AnimationPlayer, but not in the script. Any help would be appreciated!
if (Anims.HasAnimation($"Player/{State}"))
{
double BlendTime = Anims.GetBlendTime(Anims.CurrentAnimation, $"Player/{State}");
Anims.Play($"Player/{State}", BlendTime, 1, true);
}
else
{
Anims.Play($"Player/Idle", 1, 1, true);
}