Download

Unable to change rotation during anim montage

I am trying to set up my characters dodge behaviour.

If the character is idle then I can move/rotate to the direction I wan to dodge and the character dodges in the desired direction.

I have it set up so that the player can dodge during an attack animation to avoid incoming damage. This is working however the player is unable to change the direction before dodging.

I ave tried checking the input axis values to see if the player is trying to move and if so, setting the actor rotation to the control rotation. This however always dodges forwards and my character end up leaning forwards afterwards for some reason.

Can anyone offer any advice?