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

RopeConstraint Visible Attachment?

I have a script here which binds attachments with a RopeConstraint. It does work and the part floats as if it was attached with a rope. (obviously).

I know this isn't a request site, I really do but this just concerns me. There isn't really anywhere else. I looked at other places (youtube, wiki, etc) but nothing really helps me so I gave up and was hoping someone could help me with this.

Here it is:

local rc = script.Parent:WaitForChild("RopeConstraint")

atm0 = script.Parent:WaitForChild("Part0").Attachment
atm1 = script.Parent:WaitForChild("Part1").Attachment

wait()
rc.Attachment0 = atm0
rc.Attachment1 = atm1

My question is simple.

How would I make visible rope going from the part to the other part? If you know what I mean. I thought at first there would already be a visible rope but it is literally just floating with no visible attachments.

Thanks. ^_^

2 comments

0

This isn't a request. This is asking for help, which is perfectly fine.

0

Well thanks but I am hoping someone will be able to give me an answer.

1 answer

✓ Accepted answer

This is some next level physics, very complicated.

While myself I'm 0 in this field I can give you a direction, a "rope" mechanism can be done using

Verlet integration

If you want something "simple" instead, maybe I can suggest this:

Inverse kinematics

1 comment

0

Thanks, I'll experiment with this and try things out. :)

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