IKControl not being accurate/working

Recently, I’ve noticed my IKControl affecting the Character’s LeftLowerArm and LeftHand is not being accurate and holding the sword like it used to.

Here is what it looks like currently:
https://gyazo.com/cf918bbf6244a74423f56f0b35fe9bb2.mp4

Here is what it used to look like:
https://gyazo.com/d7bd5a0ee4b6d4813b3a8df3b8ee62ca.mp4

Here is the code used to create the IKControl Instance:

local IKControl = Instance.new("IKControl")
IKControl.Name = "HandleIK"
IKControl.EndEffector = Character["LeftHand"]
IKControl.ChainRoot = Character["LeftUpperArm"]
IKControl.Offset = CFrame.new(Vector3.new(0, 0.2, 0)) * CFrame.Angles(math.rad(20), math.rad(-50), 0)
IKControl.SmoothTime = 0.15
IKControl.Target = Grip -- The handle of the sword.
IKControl.Parent = Character.Humanoid

Anyone have any fix or is this just a bug?

It’s because the animation is still being applied to the Arm. My suggestion is to rename the UpperArm before applying the IKControl, and then rename it back once the IKControl is no longer needed.

I also noticed that in the second clip the head only moved. But in the second clip, the hip and arms Now move. that script is applying an offset of it’s own as well. Changing the name of the arm could break it if it’s not programmed correctly, but if it’s programmed good. This fix will work for it still.

1 Like

In the old version, the torso and the head moved- the same as the new version. And I tried renaming the arm to something other than LeftLowerArm and LeftHand, and it didn’t fix the problem. Any other ideas?

1 Like

You could try setting a new offset.