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

RopeConstraints not showing physical rope, just imaginary?

I have been trying to use the new RopeConstraint class to create Balloons but there is no visible rope between the parts. Here is what I have so far:

function Activated()
	-- Create A New Balloon
	local NewBaloon = Instance.new("Part")
	NewBaloon.Name = "Balloon"
	NewBaloon.Shape = "Ball"
	NewBaloon.BrickColor = BrickColor.Random()
	NewBaloon.Position = script.Parent.Handle.Position + Vector3.new(0,5,0)
	NewBaloon.Size = Vector3.new(2,2,2)
	NewBaloon.CanCollide = true
	NewBaloon.BottomSurface = "Smooth"
	NewBaloon.TopSurface = "Smooth"
	NewBaloon.Material = "SmoothPlastic"
	NewBaloon.Parent = script.Parent.Balloons
	-- Create An Attachment For The Baloon
	local NewBaloonAttachment = Instance.new("Attachment")
	NewBaloonAttachment.Parent = NewBalloon
	-- Create An Attachment For The Player
	local NewPlayerAttachment = Instance.new("Attachment")
	NewPlayerAttachment.Parent = script.Parent.Handle
	-- Create A RopeConstraint For The Balloon
	local NewBaloonRopeConstraint = Instance.new("RopeConstraint")
	NewBaloonRopeConstraint.Attachment0 = NewPlayerAttachment
	NewBaloonRopeConstraint.Attachment1 = NewBaloonAttachment
	NewBaloonRopeConstraint.Parent = script.Parent.Handle
	local Helium = script.Parent.BodyForce:Clone()
	Helium.Parent = NewBalloon
end

script.Parent.Activated:connect(Activated)

Any help as to why the rope isn't showing will be greatly appreciated!

1 comment

1

If I'm not wrong Ropes won't be shown unless you change your Settings in ROBLOX Studio but that only works locally.

2 answers

✓ Accepted answer

I know I'm just a little bit late to the party but:

Make sure RopeConstraint.Visible is true and RopeConstraint.Thickness is above 0. Also, check RopeConstraint.Enabled.

Its not implemented yet thats just a place holder atm i think using gametest1 or something shows it but at the mean time they are not enabled.

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