Open Source Rope Swing Mechanic

Alrighty, so a while back I made a rope swinging mechanic similar to how the game called Karlson’s rope worked, and I recently saw how many people enjoyed that. So I wanted to give away the mechanic as open source, I’m giving away an older version of it, as that way more people will be fueled to make it better then I ever could.

I hope it goes to good use, if you use it, you don’t have to credit me, but it would be appreciated.

It’s kinda wonky, but gets the job done.

If you have questions about it, contact me on Discord (Boogle#4509)

Download: RopeSwingingOLDOpenSource.rbxl (39.4 KB)

Original Game: https://www.roblox.com/games/5013859105/Risky-Ropes-early-access

What it looks like: yeet

69 Likes

Someone could make a solid game out of this. Good work.

3 Likes

Thats what im gonna do :wink: (30charyesman)

4 Likes

Y’all ready for a whole bunch of Spider-Man games? This is amazing!

8 Likes

Even though it is old, it still looks amazing.

3 Likes

Reminds me of Dani’s style in his game Karlson 3D

7 Likes

Thanks for all the nice comments :slight_smile:

4 Likes

Very nice, i will add it to my game and i’ll credit you ofc, i have never created a rope/grappling system but honestly it looks pretty hard to do since i never mess with physics, Thanks for that i will probably go and try messing with some stuff with this lol.

2 Likes

If you guys use this in your game, feel free to DM me a link and I’ll check it out!

3 Likes

I’m only copying a version of my game with the rope.

I might use this to make a realistic grapple

The code used for this is actually really simple.
These aren’t custom ropes with custom CFramed physics, they’re RopeConstraint objects that take advantage of default Roblox physics and an added BodyForce for a kick.

These are the main lines of code that make everything work:


Creates ropes

(The pointOne.WorldPosition line could be shortened to pointOne.WorldPosition = grapplePoint.Position, so I did)

Makes HumanoidRootPart accelerate towards camera’s look vector
image


Easy to understand, but still cool

You can find the rope-related code under StarterGui.ScriptsAndStuff.GrappleMechanic.Grapple
image

5 Likes