How to Blend a Montage with an Aim Offset?

I’m making a TPS where aiming the weapon is important, so I have an aim offset for the shooting stance.

However blending the attack/recoil animation montage over the aim offset is problematic.

There are 1 of 2 scenarios in my efforts to make it work:

1) If the montage Additive Settings is set to mesh space, the montage breaks the aim offset, but the montage animation plays fine.

2) If the montage animation is set to no additive, the aim offset works, but the montage is messed up. In the video I recorded you can see at the end how it gets confused between the top/bottom poses of aim offset:

… [youtube video][1]
I need aim offset and montage to work together, but I am not sure how to get it to work. Here’s some info on how I have set up the animations and stuff:

Okay I managed to get the result I want by using a blendspace instead of an aimOffset and changing the additive type from mesh to local. But aim offset should work too. I can’t get the aim offsets to work with apply additive, so I’ll probably just convert everything to blendspaces.

UE4 has great documentation, but there are a few problems like this which go unanswered indefinitely. Hopefully someone who understands AimOffsets can share their knowledge.

I once answered it but then deleted to correct my answer. after all I just got how to blend aim offset with just one montage not more.
so I blended aim offset with a shotgun shooting montage and my character is able to walk, aim and fire shotgun at the same time all correctly. I did the following steps.

1- cached the state machine pose (the main pose, probably including your “idle/Walk/run” states).

2-then I used "use cached pose (the main pose) and dragged a wire from it and typed slot and set it to the montage(shotgun_shooting) and then cached its pose.

3- I blended the second cached pose(step 2) with aim offset.

4- I blended the first cached pose(step 1) with aim offset’s right side pin by using “layered blend per bone”

5- then I set bone name. and set blend depth to 1 and checked “mesh space rotation blend”

does anybody know what to do with more than one montage?

we can add a second montage between that cached pose and aim offset.
so I managed to blend two montages with aim offset and they all work together at the same time.

With this solution it aiming and shooting, but hand pose is wrong. Something is broken here. I have aim correct and shoot correct, with combination like this it creating errors.

Hello, this solution don’t work for me, do you have a solution ?

Animation BP AnimGraph

Animation BP EventGraph

Puch Montage

Thx, i started with shoot montage, then reload montage, then aim offset and finally with hand ik, with this order everything look good

saeedc’s solution worked for me, thanks!