# IK

**URL:** <https://forums.unrealengine.com/t/ik/1783533>\
**Category:** Character & Animation\
**Tags:** unreal-engine, question\
**Created:** [April 2, 2024, 12:24pm UTC](https://forums.unrealengine.com/t/ik/1783533 "2024-04-02T12:24:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hai\_Nes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hai_nes/32/1107766_2.png) [@Hai\_Nes](https://forums.unrealengine.com/u/Hai_Nes)\
**Post date:** [April 2, 2024, 12:24pm UTC](https://forums.unrealengine.com/t/ik/1783533/1 "2024-04-02T12:24:47Z")

</div>

Hey how’s everyone, hope things are good!? So here’s the thing, I recently added a rifle(via righthand socket \>righthand, in the Idle-rifle pose)

 ![17120601322154864245607264437043](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/7/357fdf8d51cd283e9b0d13508685e75bfe56b2e9.jpeg)  
to a character holding the barrel via lefthand IK\>gun skeleton )  
 ![17120603741877222279151378555562](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/d/e/6de2201013f3c543fb0d73b282ed0d4cc00944c1.jpeg)

and it turned out fine, but when I (Walk forward rifle\> or Jump forward)the lefthand IK detaches from the barrel.

 ![17120597828033692719186624652476](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/2/fe2efc1731660fcfb6c239094da7125e67534162.jpeg)

Do I have to create another set of Ik also using and , simultaneously, or is there another way to add onto my current workings? Any good advice is appreciated! Thank a ton!

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [April 3, 2024, 6:19am UTC](https://forums.unrealengine.com/t/ik/1783533/2 "2024-04-03T06:19:18Z")

</div>

Attach and use left hand.

IK and move right hand in place.

---

<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:** [April 3, 2024, 6:51am UTC](https://forums.unrealengine.com/t/ik/1783533/3 "2024-04-03T06:51:20Z")

</div>

May find it usYou may find some useful ideas or info in this post:

> [@Hand IK with different grips](https://forums.unrealengine.com/t/hand-ik-with-different-grips/1318018):
>
> Hello all, I have been doing some investigation into left hand bone IK so that I can adjust the left hand of my character to fit different weapons. However I have noticed that many of the tutorials online work, but only for holding the barrel of the gun or maintaining the original idle animation. So if I were to equip a vertical grip for example, the hand could change its position to be more in line with the grip, but it does not rotate to look like it is holding the grip properly. I was wonde…

Just posted this in a similar thread 🙂

---

<div class="post-metadata">

**Author:** ![Hai\_Nes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hai_nes/32/1107766_2.png) [@Hai\_Nes](https://forums.unrealengine.com/u/Hai_Nes)\
**Post date:** [April 4, 2024, 3:37am UTC](https://forums.unrealengine.com/t/ik/1783533/4 "2024-04-04T03:37:53Z")

</div>

I’m not sure what u meant, is it to attach a socket to the left hand and IK the right hand instead?!

---

<div class="post-metadata">

**Author:** ![Hai\_Nes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hai_nes/32/1107766_2.png) [@Hai\_Nes](https://forums.unrealengine.com/u/Hai_Nes)\
**Post date:** [April 4, 2024, 10:52am UTC](https://forums.unrealengine.com/t/ik/1783533/5 "2024-04-04T10:52:56Z")

</div>

I’m super new to UE4 but it wouldn’t hurt to try all these cool concepts. I read the post you suggested just not sure how to make a Custom weapon class, but I have created a  
Custom montage before though. I also would like to try the IK grip function part together with the virtual bones, vector poles and the copy nodes but have no clue where to start. But I’ll put the work in and seek out any info I find on them for the time being. Thanks 4 ur time

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [April 4, 2024, 7:34pm UTC](https://forums.unrealengine.com/t/ik/1783533/6 "2024-04-04T19:34:08Z")

</div>

Correct. on rifles or anything the hand that’s further out is the one you want to attach the weapon to, since the trigger hand is always closer to the character.

---

<div class="post-metadata">

**Author:** ![Hai\_Nes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hai_nes/32/1107766_2.png) [@Hai\_Nes](https://forums.unrealengine.com/u/Hai_Nes)\
**Post date:** [April 5, 2024, 12:33am UTC](https://forums.unrealengine.com/t/ik/1783533/7 "2024-04-05T00:33:34Z")

</div>

Ok I wìll work on it this way then take a shot at multiple types of weapons. Thank u
