Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

New Joints - What am I doing wrong?

I wanted to make something like this: Wiki, so I made this code:

local partA = game.Workspace.PartA
local attachmentA = Instance.new("Attachment", partA)
attachmentA.Position = Vector3.new(0, 0, -1)
 
local partB = game.Workspace.PartB
local attachmentB = Instance.new("Attachment", partB)
attachmentB.Position = Vector3.new(0, 0, 1)
 
local rodConstraint = Instance.new("RodConstraint", partA)
rodConstraint.Attachment0 = attachmentA
rodConstraint.Attachment1 = attachmentB
rodConstraint.Length = 5

The constraint appears as PartA's child, but PartB doesn't move towards it. I made sure to name the blocks accordingly.

1 comment

0

I don't think the're out yet, I think ROBLOX is still waiting on apple to update the mobile app to activate them

2 answers

This discussion is preserved as it was. New answers, comments, and votes are closed.