Avoid instant animation stop when character is stopped by a wall

Hi everyone,

as the title says, i have this issue.

I have played with friction and deceleration but nothing works. When hitting a wall, the velocity is instantly zero and so the animation too.

Is there an easy solution for this, e.g. a checkbox or just one value to change? I need a BP solution.

Thanks in advance

raidfire.net

Shouldn’t you be able to decide how to transition from velocity → no velocity in the animation state setup?

Of course the velocity will be 0 instantly after you hit something. You can’t smooth hitting a wall out unless you start slowing down the character before it hits the wall because you obviously mustn’t move into the wall.

This is not something you change in the gameplay part (aka movement functionality) but rather in your animation setup.

Thanks for the fast reply. I have made a solution to regulate the animation speed when hitting the wall.

I’d just thought there might be a checkbox or an existing regulation variable :smiley:
Would make my AnimBP smaller :smiley: