Rope Swing Mechanic

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

16 Likes

Thanks for all the nice comments :slight_smile:

6 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

1 Like

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

17 Likes

Ok. I made a R6 version. I will show soon!

2 Likes
--//info//-- 
--[[
This script has been hidden now that the open source has closed.
]]
1 Like

Awesome! I mainly had the r15 scale thing in there because if people made their scale small locally it would make them like 2x speed

Yea. I think I should try the R15 version to try it.
Thanks, Boogle, my game would not be good without your grapple!

If anyone needs help with this lemme know

1 Like

Whoa dude this is just INCREDIBLE!

1 Like

Are there like custom keybind? :thinking:

Making one would not be to difficult

Thank you, it means a lot, glad I could help out.

That’s actually what I did! And I’m proud of it!

Amazing release. :+1:
I feel like I can do a lot more to any of my future projects with this. :smile:

2 Likes

What is a good force amount for it to be good/like the video?

Yes it is, the force amount was Smooth like the video,

Well what force ammount was it i asked tho like right now its says

Vector3.new(ForceAmount,0,FroceAmount)