Top down shooter, stabilizing arms with a weapon using IK, what is the best way?

demo

Hello! I’m making a top down shooter and I’m trying to keep players weapon still to make it easier to target enemies. I’m using Two Bone IK for the left and the right hands using some approximate Effector Location and the weapon just hovers fixed next to the players capsule. Otherwise attached weapon is affected by animations and it’s a bit jittery.

My question is: what is the best way of stabilizing weapon? (I assume it’s using right animations, but I’m not that good animating characters) In my current setup, when I’m using other animations, like jumping, this system doesn’t work…

Thanks in advance!

I decided to fix animations for now, feels more natural than writing a lot of code around IK