# Hand IK with different grips

**URL:** <https://forums.unrealengine.com/t/hand-ik-with-different-grips/1318018>\
**Category:** C++\
**Tags:** unreal-engine, CPP, question\
**Created:** [September 30, 2023, 7:21pm UTC](https://forums.unrealengine.com/t/hand-ik-with-different-grips/1318018 "2023-09-30T19:21:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Kris](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kris/32/758129_2.png) [@Kris](https://forums.unrealengine.com/u/Kris)\
**Post date:** [October 1, 2023, 4:17am UTC](https://forums.unrealengine.com/t/hand-ik-with-different-grips/1318018/2 "2023-10-01T04:17:44Z")

</div>

In our case, we could not use a single additive pose, as we have multiple grips, firearms and the grips can be placed at different locations on a rail.

Preparation:

- an animation curve to control when to blend in/out of the left hand override pose.
- virtual bones to be use as parent-child - VB temp\_root & VB temp\_child1.
- a generic grip pose for each grip, based on a base rifle pose - in our case, the AR-15.
- predetermined offset from ik\_hand\_gun.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/0/c807c3bb7cb614071574faee0cedab1fa46da611.png)

Animation blueprint:

- use an evaluate node to play the generic grip pose.
- copy ik\_hand\_gun location & rotation to VB temp\_root
- copy ik\_hand\_gun location to VB temp\_child1
- copy ik\_hand\_l to rotation to VB temp\_child1
- offset VB temp\_child1 by a predetermined offset.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/3/3a36a616b5ea6fcc5f71399f27c3a132fc0b2a91.png)

- feed this into a layered blend by pose that is splitting off clavicle\_l, ik\_hand\_l & VB temp\_root.

- copy ik\_hand\_gun location & rotation to VB temp\_root

- copy VB temp\_child1 location & rotation to ik\_hand\_l  

- feed this into a blend node with the alpha controlled by the animation curve made earlier.  

You may need to add additional nodes/logic to handle a pole vector for your left elbow, depending on your requirements. We do, as we have low ready and high ready positions to take into account.

Last thing you need to do is to remember to use the animation curve in any animation that animates the left arm to blend out/in of the grip pose:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/a/b6af3014926b5c54c67626364f8e59ab2181bd78.png)

Hope that points in you in the right direction.

---

_[View the full topic](https://forums.unrealengine.com/t/hand-ik-with-different-grips/1318018)._
