At a great personal risk of sounding cocky - I am not convinced if that’s what you really want. (do correct me if I’m wrong, though!). The idea is not to limit what the player can do but when then can do it. Since shooting is usually based one the facing direction, see if that’d work for you:
Once the character turns, they will be able to shoot in the facing direction again, ofc. If you’re making a twin-stick shooter (or mechwarrior / tank -style) type of movement and rotation, this would also work because you’d be working with the forward vector of the upper body or weapon.
We’ve yet to see how the movement is supposed to work here, so I might be waaaay off with my assumptions. But judging by the anim in the first post, you’re already rotating towards the hit rotation - so this could be fine as is.
I’ll have a think - haven’t seen this done
Somehow I imagined something more elaborate. It’s just a dot product ← cool example.