As stated in the title. I will include a video of what I'm trying to make. I'm not sure how to make the part that the player swings on. https://youtu.be/Z_RVr0nFpVE Description of the mechanic: when the player taps a "web" is created that goes from the player to the roof at a slight angle forward. This web gets shorter over time. When the player stops tapping the web goes away.
CodePudding user response:
I’m sure that there is no physical rope or string simulation. The easiest way is to slow the horizontal speed down, add decelerating up-directed velocity, and draw a rope from the origin to the player. After parameters adjustment the result should look similar to what you’ve shown.