Questions tagged [rope-physics]

Ropes, chains, vines, rubber fishing lines, and other manners of long-bodied objects that can twist or wrap around objects in the game world, and the physics of how they move about.

This tag is a subset of , and applies to the physical properties of ropes and other ropelike objects. It does not correspond to a specific branch, although a lot of the problems may seem similar to parts of fluid dynamics.

Rope physics is significant as they present unique challenges to game development due to how different it can be handled compared to other objects. It doesn't have a rigid body shape like most game objects, it instead has a malleable shape that can wrap around other objects. More complexity can be introduced by adding tension and stress on a suspended rope bridge, or by simulating the gradual velocity of different segments of a swaying vine.

Games use rope physics both for its artistic flavor and as crucial parts of the gameplay. It is most often seen in varying forms of swinging around, be it from dangling chandeliers to grappling hooks. Use this tag when your question involves the properties of ropes in a game that adhere to these kinds of principles, moreso than simple "line connecting entity A to entity B".

38 questions
2
votes
1 answer

Pulling chain/rope up and updating the path of the chain

I am trying to update the path of a chain (currently being stored in my code as a array of points) by moving one end of it up. I need the start of the chain to remain fixed in its location and the end up will be moving upwards. The chain is a series…
twlamb
  • 23
  • 3
1
vote
2 answers

Basic pseudocode to create a rope physics

I am trying to simulate the physics of a 2D hanging rope, consistent of a series of n-links. It could be a series of four pendulums. I just want some movement of the rope and the ability to contact with the ground. I was inspired by this question…
galtor
  • 111
  • 1
  • 3