I have a carrying system im using AlignPosition and AlignOrientation for, the issue is, once picked up, it either wont be rigid to the told position, or it will take several seconds to do so
local function motor()
local offset = Vector3.new(
-.5,
0,
-1.5
)
-- targetC3har:FindFirstChild("BodyFrontAttachment", true), plrChar:FindFirstChild("BodyFrontAttachment", true)
--targetChar["HumanoidRootPart"].CFrame *= plrChar["HumanoidRootPart"].CFrame * CFrame.new(0, 0, offset.Z)
local att0 = targetChar["HumanoidRootPart"]:WaitForChild("RootAttachment"):Clone()
local att1 = plrChar["HumanoidRootPart"]:WaitForChild("RootAttachment"):Clone()
att0.Parent = targetChar["HumanoidRootPart"]
att1.Parent = plrChar["HumanoidRootPart"]
att0.Name = "targetAttachment"
att1.Name = "plrAttachment"
local TargetRootAttachment = targetChar["HumanoidRootPart"]:WaitForChild("RootAttachment")
local PlrRootAttachment = plrChar["HumanoidRootPart"]:WaitForChild("RootAttachment")
att0.Position = TargetRootAttachment.Position
att1.Position = PlrRootAttachment.Position + offset
local align = game.ReplicatedStorage.CarryAlignPos:Clone()
align.Parent = plrChar
align.Attachment0 = att0
align.Attachment1 = att1
align.Visible = true
local alignRot = Instance.new("AlignOrientation")
alignRot.Parent = plrChar
alignRot.Attachment0 = att0
alignRot.Attachment1 = att1
alignRot.Responsiveness = 200
alignRot.RigidityEnabled = true
--alignRot.PrimaryAxisOnly = true
alignRot.CFrame *= CFrame.new() * CFrame.Angles(math.rad(180), math.rad(90), math.rad(90))
end
the align position before being cloned:
Please respond with any options, I need this fixed asap