Welding position Issues

Weld constraint moves welded object to the center of the hit object, swapping variables did nothing, how do i get both objects to maintain their relative positions on weld? documentation says nothing on this

LaunchHookL.Touched:Connect(function(HookHit)
				if HookHit:IsDescendantOf(Character) then return 
					else
				local hookWeldL = Instance.new("Weld")
				hookWeldL.Parent = LaunchHookL
				hookWeldL.Part0 = HookHit
				hookWeldL.Part1 = LaunchHookL
					end

This because a Weld offsets the Parts with 0 offset. A WeldConstraint offsets them by their already existing offset. Just make a WeldConstraint instead of a Weld to fix this.

LaunchHookL.Touched:Connect(function(HookHit)
				if HookHit:IsDescendantOf(Character) then return 
					else
				local hookWeldL = Instance.new("WeldConstraint")
				hookWeldL.Parent = LaunchHookL
				hookWeldL.Part0 = HookHit
				hookWeldL.Part1 = LaunchHookL
					end
1 Like