Inverse Kinematics Based Gun Holding

Hello,

I’m currently trying to make a third person gun system, and I do not want to make a holding animation for guns, I would rather just procedurally create holding animations with IK, however I need to make it so that the player bends their arm and brings the gun towards their character so that their left arm can also grab on the gun.

My attempts to do this have been unsuccessful. Currently, I have the IKControl for the left arm working, but I’m unsure how to make the player’s arm bend properly. I don’t know how I would properly position a pole to affect the IK.

This is an idle stance from Brookhaven to visually represent what I mean by the arm bending back. (My gun model is a pistol, not a rifle, so the left arm’s target is just the tool handle).

TL;DR:
I need to figure out how to make the player’s right arm bend back towards their character while using a Roblox tool. I understand that an IK Pole would do this but I am unsure how I would properly position it.

1 Like