How to fix rotation of blended animations?


I am currently working on my animation blueprint using the animation starter pack.
I try to blend locomotion animation and “rifle fire ironsight” animation, using a layered blend per bone. The blending works, however, when running / jogging, The upper body is rotated arround the hip of the charater, since this seems to be part of the run animation. This causes my weapon to point sideways during running, which looks awkward. I tried blending by a differen bone, which does not have the desired effect.

Is there a way to lock the rotation of the hips of the character on certain axis or at least limit it to a certain degree?

Here some footage of the problem, to make it more clear:

Mesh Space Rotation Blend is a Checkbox in the layer blend by bone node. Enabling it did the trick for me,

Hey no homo bro but can I kiss you ? :heart:
I was starting to thing I would never figure this out