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.
2
votes
0answers
212 views
how to attach a body to a rope and making it swing to another rope
I've set some ropes (using cocos2d and box2d) and would like to attach a body to one rope in such a way that it can swing to another rope. I am not sure how to go about this. I read making and object ...
1
vote
1answer
998 views
Making an object swing from one rope to another
I am trying to make a Tarzan like game with Cocos2D and Box2D. I am having issues with the physics - making an object swing from one rope to another. I am not really sure how to do this. Could anyone ...
8
votes
5answers
3k views
How can I easily implement swinging in a platformer game?
I'm developing a game in which player can use ropes to swing (just like what Spiderman or Bionic Commando did) and I'm having problem implementing this behavior. Can anyone help me how to do this, I ...
11
votes
5answers
2k views
2D Rope Collision Detection
I'm wanting to create a rope that can collide with objects like in the following youtube video:
2D Game Physics Rope
I'm thinking that you implement the verlet integration which uses points and ...
5
votes
1answer
427 views
Strangeness when simulating a chain
I'm using box2d and I simply hook up 10 points each with a similar length constraint to the adjacent point.
When I move 1 point, the others follow just like a rope/chain. Just like one would expect.
...
8
votes
3answers
694 views
Forces on a wire in a 2D environment? (Physics)
Assume I have a physics primitive I am going to call a "wire" wrapped around a 2D environment (as described in this question).
Here's an illustration of what that might look like:
In the example ...
21
votes
6answers
2k views
Implementing a wrapping wire (like the Worms Ninja Rope) in a 2D physics engine
I've been trying out some rope-physics recently, and I've found that the "standard" solution - making a rope from a series of objects strung together with springs or joints - is unsatisfying. ...