I’m trying to make a system of making a plane fly from one part to another, but when it spawns the other parts fall
coroutine.wrap(function()
while true do
wait(AviaoTempo)
local NewAviao = Aviao:Clone()
NewAviao.Parent = game.Workspace
for i,v in next,(NewAviao:GetChildren()) do
if v.Name ~= "MainPart" then
local Weld = Instance.new("WeldConstraint")
Weld.Parent = v
Weld.Part0 = v
Weld.Part1 = NewAviao.PrimaryPart
end
end
NewAviao:SetPrimaryPartCFrame(AviaoP1.CFrame*CFrame.Angles(0,math.rad(-90),0))
NewAviao.PrimaryPart.Anchored = true
local Tween = TweenService:Create(NewAviao.PrimaryPart,TweenInfo.new(30,Enum.EasingStyle.Linear,Enum.EasingDirection.In),{Position = AviaoP2.Position})
Tween:Play()
end
end)()
This issue nromally doesnt apply to me. When I add a new instance of a weld, applying it’s Part0 and Part1, it would weld. In your case, the weld is added to every part other than the main primary part, however CFrame has not been specified. I don’t have any other idea because I dont normally use welds as I import my mesh models as a whole through blender. Furthermore, I use normal welds instead of WeldConstraints as I can configure CFrame.
also try using Motor6Ds instead because they pretty much act the same, and can be used other than animating objects/rigs.