Rope Simulation in Unity?!

hey,

Ive been hunting around for a while now for something which allows me to ‘simulate’ a rope in Unity. By simulate I mean it can actually be attached to another object and pull it around.

Ive tried the script created by jj55ee (Jake i think, sorry if I’m wrong! :expressionless: ) which is superb but it doesnt allow me to ‘pull’ anything, it just seems to stretch then kind of freak out lol :smile:

Has anyone came across this issue before or needed a proper ‘rope simulation’?

Greatly appreciate any help! :slight_smile:

I don’t know from a game point of view, but from a physics point of view, when you are pulling the object you give it the same momentum as the player.

So you are either adding the same force independently to the player whenever the player latches on the rope, or working out how to use the rope to actually transfer the force and momentum

se if that helps working it out

What you’re seeing is a limitation of PhysX joints. The only work around is to create your own rope physics system.

Thanks for your reply guys,

I have managed eventually to get this working by using jj55ee’s Rope Script V2 (not version 3 which doesn’t seem to have the ‘pull’ ‘push’ feature to lengthen and retract the rope for some reason!) The only thing which would be greatly helpful is if you could set the maximum length of the rope, as of now the maximum length is the length you give it in the editor! However I do believe jj55ee is working on this?! Hopefully! :smile: