I am trying to tween a part but it is welded to a different part. The only way to tween it is disabling the weld, then enabling it when the tween is done, but this leads to strange behavior.
I am using WeldConstraint
.
You can’t tween Weld Constraints
you should use a Motor6D or Normal Weld instead and tween its C0 property
local TS = game:GetService("TweenService")
local object = Weld/Motor6D
local cframe = CFrame.new(10, 5, 25)
local tween = TS:Create(object, TweenInfo.new(5), {C0 = object.C0:ToObjectSpace(cframe)})
tween:Play()