Animation makes character go through a wall -- any way to stop that?

Hello!

I have an enemy character, and the “Death” animation has them falling backward a meter or so. However, if their back is to a wall, this animation makes them go through the wall.

I imagine there’s a way to stop this without forcing the animation to stay in place. Is there a way to do this? To keep the collision with the wall even if the animation wants it to go through?

Thanks!

I know this is a really old thread, but I’m facing the same problem, my enemy’s attack animation makes them get through walls and even let them go through each other, so did u find anything to fix this issue?