# IK bones using Layered blend per bone offset in animation

**URL:** <https://forums.unrealengine.com/t/ik-bones-using-layered-blend-per-bone-offset-in-animation/433676>\
**Category:** Character & Animation\
**Tags:** blend-poses, unreal-engine, question\
**Created:** [September 12, 2018, 9:01pm UTC](https://forums.unrealengine.com/t/ik-bones-using-layered-blend-per-bone-offset-in-animation/433676 "2018-09-12T21:01:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlayingKarrde](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PlayingKarrde](https://forums.unrealengine.com/u/PlayingKarrde)\
**Post date:** [September 12, 2018, 9:01pm UTC](https://forums.unrealengine.com/t/ik-bones-using-layered-blend-per-bone-offset-in-animation/433676/1 "2018-09-12T21:01:26Z")

</div>

I’m trying to blend an animation I have with the lower body using Layered blend per bone. It works fine for anything down the chain from spine\_01 (the bone I’m specifying) but the weapons are attached to the ik\_hand\_gun bone. This bone is not the child of spine\_01 so I add it also as a blend. However, it is seeing an offset during the animation. I suspect it is due to it not receiving important information from the root but I don’t know how I can get my animations blending properly.

Does anyone have any solutions?

---

<div class="post-metadata">

**Author:** ![sjcobs](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sjcobs/32/918649_2.png) [@sjcobs](https://forums.unrealengine.com/u/sjcobs)\
**Post date:** [September 18, 2018, 5:42am UTC](https://forums.unrealengine.com/t/ik-bones-using-layered-blend-per-bone-offset-in-animation/433676/2 "2018-09-18T05:42:52Z")

</div>

Attaching the weapon to a virtual bone or socket of the hand would probably work better.

Then you could use the IK nodes in your animation blueprint to handle any of your IK needs.

---

<div class="post-metadata">

**Author:** ![PlayingKarrde](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PlayingKarrde](https://forums.unrealengine.com/u/PlayingKarrde)\
**Post date:** [September 18, 2018, 7:24pm UTC](https://forums.unrealengine.com/t/ik-bones-using-layered-blend-per-bone-offset-in-animation/433676/3 "2018-09-18T19:24:09Z")

</div>

That was what I was thinking too but unfortunately I am unable to attach a socket to the virtual bone or add offset to it. It’s a shame as this would have worked perfectly.

---

<div class="post-metadata">

**Author:** ![gokitty199](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gokitty199](https://forums.unrealengine.com/u/gokitty199)\
**Post date:** [December 3, 2023, 5:57pm UTC](https://forums.unrealengine.com/t/ik-bones-using-layered-blend-per-bone-offset-in-animation/433676/4 "2023-12-03T17:57:31Z")

</div>

If you have a good working setup with ik\_hand\_gun, dont switch to a socket on the hand, that would be a downgrade. Setup blend masks. For example mine has spine\_01 all the way down to the fingers set at 1.0, then all the ik\_hand\_x bones are set at 1.0, pelvis and legs are set to 0.0. What I do is I have a virtual bone on the head of my skeleton, at the start of the anim graph I do CopyBone to move that VB to the ik\_hand\_gun bone, run all my procedural logic on the VB, then do the layered blend per bone using the mask, then use CopyBone again to copy ik\_hand\_gun to the VB

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/4/234fb7092977f0e03d98d582ef990b537639e9ea.jpeg "Unreal Engine Shooter Framework: New Point Aim System") ](https://www.youtube.com/watch?v=sFQuPhS6DPo)

---

<div class="post-metadata">

**Author:** ![trillix34](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@trillix34](https://forums.unrealengine.com/u/trillix34)\
**Post date:** [July 13, 2024, 2:33pm UTC](https://forums.unrealengine.com/t/ik-bones-using-layered-blend-per-bone-offset-in-animation/433676/5 "2024-07-13T14:33:26Z")

</div>

how do you attached your weapon to ikhandgun and moved it properly i want to make system like this for sniper rifle but cant find any tutorials about it everyone use handr
