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

RodConstraint not working?

I got this script on the wiki, and It's not working. No errors.

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, .5, 0)
 
local rodConstraint = Instance.new("RodConstraint", partA)
rodConstraint.Attachment0 = attachmentA
rodConstraint.Attachment1 = attachmentB
rodConstraint.Length = 3
 
while wait(2) do
	rodConstraint.Enabled = not rodConstraint.Enabled
end

it's a server script in serverScriptService. It does make the attachments, and it makes the constraint. I have ShowContriants set to true, and I can see the attachments, but not the constraint. It does the enabled thing, but it doesn't do any constraining!

1 answer

✓ Accepted answer

Roblox has not yet released(activated) this on the main roblox website due to having to wait for apple's mobile approval. After apple approves the update, it should work.

5 comments

0

WHAT!?!?!?! Why is there even a wiki page for it then??

0

Also, I saw things with it. How did the wiki get the gifs of it?

0

They got it from the gametest website. You know about that right? Roblox had game test sites where they host upcoming features for people to test before they come to the main website.

0

Oh, cool. So when is it going to work for all the players?

0

Not sure. probs in about a week but you never know with apple.

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