Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
66 views

How to make the player's weight deform a rope bridge?

I'm making a 2d game, and I want my character to deform my rope bridge with physics effects on the jointed structure when they walk over it. Right now, the player can stand on the bridge, but it ...
2
votes
1answer
77 views

How to constrain a ball and chain like object?

Following up on this question, I have created a snakelike enemy which consists of a head followed by segments. I get the segments to follow the head by constraining each segment's position relative ...
0
votes
0answers
47 views

Unity3D Hinge Joint Ropes Unstable

I need to create several ropes to go on the head of a mop, which can be picked up and moved around as a physics object by the player. I've tried composing each thread out of several capsules connected ...
0
votes
0answers
36 views

Need help with circular motion physics

I'm trying to develop a little game in Java. It's nothing serious, just something to kill some time. I've already built a little Asteroids-like game and I thought I could re-use its code for this ...
1
vote
0answers
58 views

Simulating a curled phone wire in Unity

I'm made a model for a project at work (depicted in the image bellow) that requires me to create a somewhat realistic movement on a curled phone wire. Here is what i have tried so far: I've tried ...
1
vote
0answers
91 views

Unity 2D extendable rope

I need the player to be able to drag a game object that is connected to a rope, and for the rope to extend with it. I have purchased Ultimate Rope Editor, but it looks like it was meant for Unity 3D, ...
1
vote
0answers
209 views

Rope physics and cutting

I'm making a game where at some there is a box hanged from the top that the player need and to bring it down he need to cut the rope, but i dont know where to begin how to creat the rope and how to ...
0
votes
1answer
41 views

How do I set the Tag of joints[] to what I want in this script?

Hello I got this big script for building a Rope from position a to position b. The joints are getting instantiated but the tag is default, what I have to change in the script to set the Tag of the ...
1
vote
1answer
3k views

Unity rope/cable physics / anchor points

I'm creating a cable in Unity, which should behave realistically. I found 2 different ways to approach the problem. First was to simply rigg a subdivided cylinder in Blender, Cinema4D or whatever ...
0
votes
2answers
5k views

How can I render 2D ropes in Unity?

I'd like to be able to render flexible lines, or ropes, as below: I thought about using a Line Renderer but it doesn't have the flexibility to render arbitrary curves.
2
votes
1answer
914 views

Unity 2D Hingejoints break under extreme force

I have added a rope to my game that is made up of multiple small gameobjects, each connected to eachother by a HingeJoint2D. Since 1 unit of mass in Unity is supposed to represent 1 kg, I've made the ...
2
votes
0answers
852 views

How To Create A Dynamic 2D Rope In Unity?

I'm trying to create a 2D rope in Unity that is fixed at one end and other is moving up and down to pick up objects just like a crane. I've tried adding a cube and making more instances of it, ...
8
votes
2answers
8k views

How to create rope?

I'd like to re-create this game, but I have no idea how to create the rope, or its influences on the ball. Basically, there is a rope, "attached", at one end, to the mouse pointer, and at the other ...
1
vote
2answers
2k views

Unity - Joint tearing under larger force

I have a chain that is made of connected configurable joints. I used ultimate rope builder for the rope chain creating. The problem is that when i apply a larger force to the chain, it starts to tear ...
3
votes
1answer
1k views

How do I handle rope physics with fixed ends and a sliding weight?

I've been interested in rope physics recently—I've successfully implemented a simple Verlet rope with moveable ends. Now I am trying something a little different: I want to start by recreating the ...
0
votes
1answer
537 views

Rope Colliding with a Rectangle

I have my rope, and I have my rectangles. The rope is similar to the implementation found here: http://nehe.gamedev.net/tutorial/rope_physics/17006/ Now, I want to make the rope properly collide ...
2
votes
1answer
548 views

Model a chain with different elements in Unity 3D

I have to model, in unity 3D, a chain that is composed of various elements. some flexible, some rigid. The idea is to realize a human-chain where each person is linked to the other by their hands. I'...
5
votes
1answer
2k views

2D Rope with verlet and Semi-implicit Euler integration

I'm trying to create 2D rope. Chain based solution is not working pretty well, so I'm looking for new approach. Every good looking rope implementation is based on verlet integration, but this method ...
14
votes
0answers
7k views

Creating Rope Physics for Unity [closed]

I want to create a bungee jumping-like game in Unity and therefore I need a rope physics. I especially need elastic ropes with capability to pull objects with velocity after a little extension. Do you ...
2
votes
0answers
583 views

how to attach a body to a rope and making it swing to another rope [closed]

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
2k 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 ...
9
votes
5answers
6k 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 ...
13
votes
5answers
5k 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
519 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. ...
10
votes
3answers
2k views

How do I calculate the forces exerted by a taut wire wrapping 2D objects?

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 ...
33
votes
6answers
8k 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. ...