so i made this carrying system for knocked people in my game using alignposition and alignorientation and it takes a while to set correctly causing the carried person to float behind the carrier for a while (video for reference).
i tried messing with the properties of them such as RigidityEnabled and others but nothing worked.
script:
local carryw = Instance.new("AlignPosition")
carryw.RigidityEnabled = true
carryw.Name = "carryw"
carryw.Parent = otherchar
carryw.Attachment0 = otherchar.Torso.lol
carryw.Attachment1 = char.Torso.carry
local carryw2 = Instance.new("AlignOrientation")
carryw2.RigidityEnabled = true
carryw2.Name = "carryw2"
carryw2.Parent = otherchar
carryw2.Attachment0 = otherchar.Torso.lol
carryw2.Attachment1 = char.Torso.carry
(otherchar is referencing the character being carried and char is referencing the carrier)
is there any way to prevent the floating?
any help appreciated