How to Make a simple Knot with Rope simulation

I want to make a Knot with simple rope. Can anyone please tell how can I do it , I want to make a simple rope and in game some simple control over so why I can make knot with this rope.

If you think about what you’re asking, there’s not really much simple about it.

Ropes are a surprisingly complicated thing to simulate in physics engines. They don’t really have joints so much as they do a single body that bends, stretches, becomes taught, has friction, is affected by gravity, etc. If you were doing something like Cut the Rope, that’d be one thing, but if you’re talking about tying knots, it pretty much demands you calculate for all 3 dimensions.

Controls are likely to be fairly complicated, too, since you have to be able to maneuver in between parts of this object. In real life, it’s easy for my fingers to just move behind one another to manipulate a piece of string, but to handle that on a 2D screen using mouse, keyboard, or joystick…

How about some more information about what you want to do. Is this a Knot Tying Simulator, or is this one mechanic in a larger game? And of course, because of the way you’re talking, I’m assuming your experience level is fairly low, so the next question any of us will ask you is: Have you gone through the official tutorials?

2 Likes

It is simple Knot tying simulator. I have to tie a model as given image .

Ah, so you’re making Bondage Tycoon. Interesting.

There are still a lot more questions you need to answer yourself before anyone can help you.

  • How does the game play? What’s the main game mechanic? Is it the challenge of actually tying the knots, or is it more choosing the correct knot for each situation? How does one attach the nipple clamps?
  • What platform will you be targeting? Consoles (using a controller for input), PC (mouse and keyboard), or mobile (touch screen). All would have very different ways of interacting with and using your rape kit.
  • Is this a realistic project for your first foray into game development? Be honest. If not, how can you boil it down to its simplest elements and still get achieve what you’re going for? And are you going to release it in sync with the 50 Shades of Gray sequel?

Knowing these answers and planning your game ahead of time will save you a ton of headaches later. And it will give you a shot at actually finishing your game.

Thanks.
Now you understand what I want to do.

Answer for your question is.

  1. it is the challenge of actually tying the knots,
    2.Target platform is mobile (touch screen).
    3 this is a realistic project for game development. I just want to tie a model with Knot.

It is user who learn the basics of tying knot. I just make availability of rope and model and some control for tying model.But I am still stuck how can I achieve this.

So that’s what I mean by realistic… If it’s entirely beyond the scope of your current knowledge level, it might not be feasible for you to do this just yet.

It’s strongly recommended you go through the official tutorials to get comfortable with the Unity Editor and how the engine works. I’d also recommend you familiarize yourself with how to write scripts, and read as much as you can on rope and cloth physics simulation.

If, after all that, you still don’t know where to begin, then you may have to shelve this project until you get some experience under your belt. I don’t want to dissuade you from attempting your game, but if you don’t even know how to start, there’s not much the community can do to help you, either.

1 Like

Additionally, if you are targeting mobile, you should read Google and Apple’s policy on app content to see if your vision will violate any of their terms. I can tell you right off the bat that if your game involves bondage, there’s a strong chance it will be rejected by Apple.

1 Like

Sure. So I am not going to make game which contain adult anything, it only contains Wooden Model and a rope which is used to make Knot.

I would recommend using a 3D model with many bones for the rope, then you can manipulate the bones through an input-dependent script. I don’t know why, but I don’t think the physics engine will add value to the realistic movement for such mechanics

1 Like

Thanks …
I am going through it. it was already in my mind.

1 Like

Do you know of any physics engine that supports elastic knots nicely? Ideally one that compiles to JavaScript, as that’s my target.

I’ve recently became interested in stimulating knots along with entangled rigid bodies for a puzzle / building game.

You’re right, bones are not satisfactory at all for this. At best you’d get a chain simulation. For knots, friction is needed, along with changing diameter based on tension / pressure, stretching, and ideally optimization for complex states for statically representing topologically + orientation, and for dynamically stimulating forces. I highly doubt any existing physics engine covers all of this.