Hello, I am trying to make it so the weldCirclePart is in a fixed position during the weld.
As you can see in the video, it is moving relative to how the primary part of the tower moves, and its going under the ground sometimes, to the side.
What I am trying to do is make it stay fixed at its position and prevent it from rotating, going under the baseplate
local HandleWeld = {}
function HandleWeld:TowerCircleWeld(tower: Model, weldCircle: Part)
print(weldCircle.Parent)
local weldConstraint = Instance.new("WeldConstraint")
weldConstraint.Part0 = weldCircle
weldConstraint.Part1 = tower.PrimaryPart
weldConstraint.Parent = weldCircle
weldCircle.Parent = tower
weldCircle.CFrame = tower.PrimaryPart.CFrame
local weldAttachment = weldCircle.CircleAttachment :: Attachment
weldAttachment.WorldCFrame = tower.PrimaryPart.CFrame * CFrame.new(0, -1.5, 0)
end
return HandleWeld