[Resolved] - Got a bug with switching animations. I don't know how to fix it and I'm tired

Hi! I need your help.

The following video depicts where the bug occurs:

This is happening when I hold attack button(LMB), speed boost(LShift), and movement keys(A/D) at the same time. Sometimes it happens after player dives and sometime it happens when player dashes or JUST STANDS against the wall.

When is release the attack button everything goes back to normal and animations are switching correctly.

Here is the whole player controller code (i’m sorry… it’s a lot…):

I think i fixed it. I don’t understand what I did but the animations are switching correctly now.


1 Like

Hi @DoppelgangerGames!

Welcome back again in the forum!

Can you put a little “Resolved” in the beginning of the title of your post?

Thanks.

A+
Xierra

I don’t think I can…

Ok, i do it for you.

A+
Xierra

2 Likes