Stretchy/Bungee like rope constraints

So in this Spider-Man game called, “Tangled-Web”, their web swinging system is very stretchy. This is what I mean.


I wanna replicate something like this. You can see as I fall and shoot the web, it stretches the web in a way. I don’t know if they are using springs or using something called “Winching” which is a property in a rope constraint which changes the length of the rope depending on the speed of the rope.

Can someone help me on how they made these stretchy constraints?

3 Likes

I’m 99% sure they are using a SpringConstraint and using a Beam for the visible rope.

Play around with the MaxForce, Damping, Stiffness, and FreeLength properties of the spring until you get about what you want.

2 Likes

I created something very similar to this. I used rope constraints, enabled pulling physics and used BodyVelocity to provide the speed for the player. Rope constraints can be known to be quite stiff though so i think you should try out different constraints and find which one you like

1 Like

Pulling physics? Do you need to script that into the rope or like is it something you can enable?

1 Like

Its WinchEnabled . Thats what i used.

1 Like

Oh okay. That was my other option to try.

1 Like

I recommend you learn the RopeConstraint
Properties They are very useful especially when your working on a project that includes RopeConstraint’s And I’ve seen your last post when you were asking for bungie type swinging you can use Restitution If you want that effect You can watch some tutorials on YouTube that have good explanations Hope this helps!
(Sorry for the late response)

1 Like