Swinging rope in 2d

Ok so i’m trying to make a rope swing system in a 2d game so when you jump to a rope then you can grab and swing from it and jump similar to this. https://gyazo.com/c2c1f45249a3509c6d3c81fbeb83da8a
My question is, is this possible and how would i do it?
Any help would be nice thank you!

Edit- Also how would i be able to make it only swing 2d so not x y z only x and y

1 Like

You can make ropes using the Model tab and clicking this dropdown arrow.image
Then, choose Rope. image
After that, add two parts. Then, Go back to the model tab and click this. image
Then click on one of those parts, and then the other. The result should look something like this.image
Now, anchor the upper part, and leave the bottom part unanchored.
For more info about ropes, here’s a useful Roblox article. Info About Rope Constraints

1 Like

I have this already but really what i’m trying to do is allow the player to when they touch it, it will kinda weld them to the block and then they will have to swing and jump to the other side like in this video

Well, you can use Part.Touched:Connect(function()

1 Like

while that would work how would i weld the person to the block and then unweld when they try to jump?

Try welding everything that the part touches, then breaking those welds when the player touches the other end.

Instead of welding you could try a seat but you won’t be able to detect when they jump off I think. I haven’t messed around with seats much yet.

if i did that it would look really weird cause then the player would be sitting while swinging.

ok so when player touches block weld then when player tries to move break weld?

I will admit it does look wierd but can’t you do custom sitting animations? I’ve played vibe games and they have custom animations while sitting.

1 Like

When the player touches the platform after the rope, break the welds.

They will be midair the platform will never reach the top

Like a standing animation while jumping?

Nah I mean like they have custom sitting animations like this:
image

that what i meant like when they are sitting its a sorta standing animation?

You can just make your own standing animation

Ok then i will think about this