Why are these Weld Constraints inactive?

I’m trying to reposition a pickup model by welding all the parts to the “Primary” part and then setting the CFrame of the Primary part to the CFrame of an invisible part within the workspace. I know this works, I’ve tested it, but it doesn’t work with this particular model (titled “PICKUPHaste”) because for some reason the WeldConstraits I’m using to connect the model parts to the primary are not active. I checked out this page but it didn’t seem to help. The whole model is in the workspace…if anyone could tell me why these welds are inactive that would be stellar. Thanks in advance.

Here’s the pickup model:
image

Here’s a visual (all the parts of the model are selected, the primary part is the one that overlaps with the black part. I repositioned it there):
image

Here’s what I entered into the command bar to reposition the primary part:
game.Workspace.PICKUPHaste.Primary.CFrame = game.Workspace.Part.CFrame

2 Likes

Try using SetPrimaryPartCFrame, as it guarantees that all other parts inside the Model will maintain the same relativity to the PrimartPart.

game.Workspace.PICKUPHaste:SetPrimaryPartCFrame(game.Workspace.Part.CFrame)
1 Like

If the parts welded to the primarypart are anchored, you should unanchor them.

7 Likes

If the WeldConstraint isn’t greyed out, it’s not inactive. If it is greyed out, then it’s inactive. Welds are deactivated when both parts its connecting are anchored.

I don’t think enough context is being supplied here, it’s difficult to see your problem when the signs of a problem existing are not present in any of these pictures.

2 Likes

Okay so apparently I’m dumb and I forgot that anchoring takes priority over welds XD. I guess I thought that since the primary part moved fine when anchored, the parts welded to it should too.

Thanks all of you for getting back to me so quickly! (I used to use Unity, and the questions I asked on that forum still haven’t been answered a year or two later. The Roblox community is terrific!)

2 Likes