(Solved)Changing animation on collision

Hello.
I have applied an idle animation and a running animation. I want to show a skull animation when colliding with an obstacle.
However, the skull animation is not implemented on collision. how can I fix it?
Do I need an event to stop the idle or running animation?

Why are you pausing the animation? There doesn’t seem to be a reason for it. As for the skull animation not showing, it may well be that you are setting the amination elsewhere. Check that first.


Additionally, don’t repeat for each dungnew instance and then check for collision as the condition of that repeat. Instead, check for collision and then, as a subevent, repeat over all the dungnew instances. It’s more efficient.

1 Like

I solved it thanks to you, thank you.