Problem animation when firing


can someone help me to understand what happen(or give a solution) for this case
when i shoot in idle mode its ok but when i walk and shoot there an additionnal animation that i dont undestand why its happen

thx in advance

doesn’t look like you have an aim offset in place, so your jumping back and forth between the walk anim and the firing anim.

solved,i add shot anim on locomotion and that’s work fine

Looking at the anim graph looks like your trying to shoe horn action states into you locomotion state machine

A better approach would be to use animation layering and it makes combining locomotion with action states much easier and flexable.