# How to Blend a Montage with an Aim Offset?

**URL:** <https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010>\
**Category:** Character & Animation\
**Tags:** unreal-engine, question\
**Created:** [March 29, 2015, 4:27am UTC](https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010 "2015-03-29T04:27:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![visoutre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@visoutre](https://forums.unrealengine.com/u/visoutre)\
**Post date:** [March 29, 2015, 4:27am UTC](https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010/1 "2015-03-29T04:27:17Z")

</div>

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:

 ![36396-01+anim+sequ_montage+settings.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/2/f326981eb6e45d775cad59de46c40f06af154d01.jpeg)

 ![36397-02+aim+offset+settings.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/9/7a906ca4705c92c586e0998be8ff8568a7627e9a.jpeg)

 ![36398-03+animgraph.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/7/e/e7e1d507aee2341e3c7281a1073a3f57ad4de567.jpeg)

---

<div class="post-metadata">

**Author:** ![visoutre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@visoutre](https://forums.unrealengine.com/u/visoutre)\
**Post date:** [March 29, 2015, 1:47pm UTC](https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010/2 "2015-03-29T13:47:17Z")

</div>

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.

 ![36441-blendspaces+workaround.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/3/a9324b57a9bca0d1dc81379c33a833a5bff9a48f.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_277c86b9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_277c86b9](https://forums.unrealengine.com/u/anonymous_user_277c86b9)\
**Post date:** [April 20, 2016, 1:33pm UTC](https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010/3 "2016-04-20T13:33:57Z")

</div>

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”

 ![87647-blending+aim+offset+with+a+montage.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/f/43fef05c0ec3c9b5f2820887ece670b78b2764e6.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_277c86b9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_277c86b9](https://forums.unrealengine.com/u/anonymous_user_277c86b9)\
**Post date:** [April 20, 2016, 1:35pm UTC](https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010/4 "2016-04-20T13:35:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_277c86b9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_277c86b9](https://forums.unrealengine.com/u/anonymous_user_277c86b9)\
**Post date:** [April 20, 2016, 8:34pm UTC](https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010/5 "2016-04-20T20:34:46Z")

</div>

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.

 ![87719-blending+aim+offset+with+two+montages.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/f/f/2ffbd2ffd7e5a019700513266c277b30cc0058a2.png)

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [January 16, 2017, 4:48am UTC](https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010/6 "2017-01-16T04:48:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![TamTahiti](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TamTahiti](https://forums.unrealengine.com/u/TamTahiti)\
**Post date:** [August 29, 2017, 1:07am UTC](https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010/7 "2017-08-29T01:07:04Z")

</div>

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

Animation BP AnimGraph

 ![211438-animation-bp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/3/913714a0f690f68f50c0850617a187ceb4dbb310.png)

Animation BP EventGraph

 ![211440-animation-bp-event-graph.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/b/9ebde69c97a8d932309f87d2ac0c42864b368e92.png)

Puch Montage

 ![211442-montage.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/5/8a54325c5fa9704e38928454dc42375381e52d3e.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ea7f2fa2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ea7f2fa2](https://forums.unrealengine.com/u/anonymous_user_ea7f2fa2)\
**Post date:** [October 17, 2019, 8:41pm UTC](https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010/8 "2019-10-17T20:41:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Ryan87](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ryan87](https://forums.unrealengine.com/u/Ryan87)\
**Post date:** [June 13, 2021, 11:36am UTC](https://forums.unrealengine.com/t/how-to-blend-a-montage-with-an-aim-offset/313010/9 "2021-06-13T11:36:09Z")

</div>

saeedc’s solution worked for me, thanks!
