I have a script that positions a avatar rig on a motor cycle where I try to use IKControl to attach the left and right hands to the handle bars, but it behaves very different depending on the type of character.
See this case works:
This case the hands do not go to the handle bar attachments, but the wrist seems to go toward them:
This is my attachment code:
local leftHand: Attachment = bike.PrimaryPart:FindFirstChild("leftHand")
local rightHand: Attachment = bike.PrimaryPart:FindFirstChild("rightHand")
local ikControlL, ikControlR
if leftHand and rightHand then
ikControlL = Instance.new("IKControl")
ikControlL.Type = Enum.IKControlType.Position
ikControlL.EndEffector = character:FindFirstChild("LeftHand")
ikControlL.ChainRoot = character:FindFirstChild("UpperTorso")
ikControlL.Target = leftHand
ikControlL.Parent = character.PrimaryPart
ikControlR = Instance.new("IKControl")
ikControlR.Type = Enum.IKControlType.Position
ikControlR.EndEffector = character:FindFirstChild("RightHand")
ikControlR.ChainRoot = character:FindFirstChild("UpperTorso")
ikControlR.Target = rightHand
ikControlR.Parent = character.PrimaryPart
end
Any help with this code or an alternate for getting the hand grips to old the handle bars is greatly appreciated.

