Quite simply, my player dies and then the death animation should play but it only plays the first frame and the animation never finishes.
I was using health points, but for testing, I’m using a simple collision with spikes.
I’ve tried with and without a trigger once, it makes no difference
I’ve tried using an alive = false/true boolean variable and running the animation based on that status but to no avail.
You have other animation that is allowed to play at the same time
I would bet on idle cause for that you most likely are checking if player is moving
And since he is not you allow idle and dead animation to play and none of them can play
This is what @ZeroX4 mentioned - you’re setting the animation to something else. Either Player.running is true or false. Either way, the animation gets changed.