A ready-made 2D script for creating a web like a spider-man.
Inside there is a demo scene where you can see how everything works.WEBGL version:https://simmer.io/@CreoComp/spiderweb-v2Inside the package is a script for managing and configuring a web or a rope. And a small demo scene for testingPlayerMove Properties:Rope Game Object: LineRenderer prefab, with your custom propertiesLine Ui Game Object : LineRenderer prefab, with your custom propertiesSpeed Rope: the speed at which the rope is releasedSpeed Attraction : the speed at which the character is pulled towards the point where the rope hitsLayerMask Without Player: Everything layers without player:)Max Rope Distance : Max Rope DistanceBreak Force : the force with which the player flies so that the rope breaksMin Distance Rope : The minimum distance of the rope, if the rope is less than this, it will breakToleranceDistance : how many times the distance from the player to the rope hit1 must differ from the distance from the player tohitting rope 2 so that rope 1 breaks. Works in reverse tooWebsPositions : important! The array must contain 2 objects. Their parents are the limbs of the player with the Rigidbody2D componentFeaturesSupported OSLink to documentationSpiderWeb2D Physics