# Layered blend per bone, not evaluating as expected

**URL:** <https://forums.unrealengine.com/t/layered-blend-per-bone-not-evaluating-as-expected/336990>\
**Category:** Character & Animation\
**Tags:** additive, unreal-engine, question\
**Created:** [October 30, 2015, 4:52pm UTC](https://forums.unrealengine.com/t/layered-blend-per-bone-not-evaluating-as-expected/336990 "2015-10-30T16:52:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_1a56da39](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1a56da39](https://forums.unrealengine.com/u/anonymous_user_1a56da39)\
**Post date:** [October 30, 2015, 4:52pm UTC](https://forums.unrealengine.com/t/layered-blend-per-bone-not-evaluating-as-expected/336990/1 "2015-10-30T16:52:01Z")

</div>

Hi, I’m trying to make the split body setup as seen in the fortnite demo video that was shown on twitch tv a while ago. [link][1]

Info on the anims:

**Idle pose ref** is and idle pose exported with bind pose cog and legs

![64868-uef_layered_pose_ref.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/7/59796c9ecde03771b47cb389bc6d45a6d97210d0.jpeg)

**walk\_upper** also has bind posed lower body and is additive, using idle pose ref as its base pose, very similar initial pose

![64869-uef_layered_upper_walk.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/5/7a5b87fef9bc477efa1e7d50ba79a25975397834.jpeg)

**walk lower** has the full motion from the cog and legs, but the upper body is in the reference pose, ready to be replaced by the idle pose ref using the layered blend per bone node

![64870-uef_layered_walk_lower.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/1/301018735bad8772db52279cf0cb667ed9d0f437.jpeg)

I’m getting issues with the upper body additive rotating in the wrong direction. If I have the following chain of nodes it works fine :

 ![64866-uef_layered_01.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/1/8f1ba2128dcfd46701be6f8360627f0140fd00c3.jpeg)

This is the idle reference pose, with an upper body walk added to it, the result is the same as the upper body walk set to non additive. This is the desired result.

The point where I am getting stuck is when I introduce a layered blend per bone node to replace the lower body with a walk/ strafe animation.

 ![64867-uef_layered_02.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/3/f63d0b87c92593057bc79a9679f083ae636858f7.jpeg)

Now I have the same idle ref pose, combined with the lower body replacement. When the blend value for the layered  
blend per bone node is adjusted, there is no visual change in the spine posture. HOWEVER, when the additive is blended in, the spine will rotate differently depending on the blend weight on the layered blend per bone node. Changing the lower body animations at this point to a strafe blendspace will result in wildly tilting upper body animations.

This error does not occur or is negligible when the delta between the ref pose and the first frame of the additive is 0. Ie when testing the idle breathe animation in this setup (idle breathe uses it’s own first frame as it’s reference pose). When that is the case, the lower body animation can be absolutely anything and the spine stays rock solid as expected. It’s as if the layered blend per bone node is adusting the parent space of the top spine joint, so it rotates off axis as the animation changes beneath it. The layered blend node has the pelvis bone set to a blend depth of 0 and then a negative blend on the first spine joint. I’ve experimented with all the numbers but to no avail!

I’m wondering what I’m missing in my setup. I thought as the layered blend per bone node is locking the spine in the idle ref pose that the additives will play in local space on each bone?

I’ve tried changing rotation orders on me skeleton and also extracting the additive in maya and converting it into a reference pose relative animation and I get the same result. It definitely seems to be the layered blend per bone node confusing the axis.

Thanks for your time!

---

<div class="post-metadata">

**Author:** ![maggotcakes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@maggotcakes](https://forums.unrealengine.com/u/maggotcakes)\
**Post date:** [July 24, 2017, 10:48pm UTC](https://forums.unrealengine.com/t/layered-blend-per-bone-not-evaluating-as-expected/336990/2 "2017-07-24T22:48:54Z")

</div>

I have a similar problem where I have a run anim and a shoot anim… I want to blend the top half of the character to shoot while running… which I have done with a Layered blend per bone node… I can only manage to get close to the desired result when setting a -1 blend depth on the hip joint… however there is important rotation data on the hip joint on the x axis that I do want to keep… but I do not want to keep the rotation data on the y axis as it makes the character aim left to right as he’s running… (in stead of holding his arm straight)  
can you blend specific axes?
