Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Issue with Rope Consistency!
#9
(10-06-2020, 06:46 PM)Kifwat Wrote: Thanks for the explanation, but can you try this and show me how to achieve it?

In your scene, link the the rope's start and end points with two cubes, and then in play mode, move the two cubes (linked with the rope) far from the horizontal object, so the rope is colliding with it. When going as far as you can from the horizontal object, the rope should not pass through it, it should stretch and stay colliding with it.

Simply stretching the rope won't work. In real life, imagine that you have two objects at 1 meter from each other, joined by a 1 meter long rope. Then, you suddenly separate the objects so that there's now 2 meters between them: the rope would simply break (or, prevent you from separating the cubes, depending on the force used to pull the objects apart from each other).

You need to actually change the rope rest length to match the distance between the two cubes. That's what cursors are for:
http://obi.virtualmethodstudio.com/tutor...ursor.html

They let you add "more rope" at any point in the rope, in any direction.

(10-06-2020, 06:46 PM)Kifwat Wrote: Or is there any way to increase the amount of particles depending on the rope length? so when it stretch the particles stay close and then it didn't go through object.

Yes, you can do this using cursors. They are designed to change the rope rest length at runtime. Check out the "Crane" and "GrapplingHook" sample scenes. They both do what you're asking for, specially the grappling hook one.
Reply


Messages In This Thread
Issue with Rope Consistency! - by Kifwat - 10-06-2020, 02:57 PM
RE: Issue with Rope Consistency! - by josemendez - 10-06-2020, 03:26 PM
RE: Issue with Rope Consistency! - by Kifwat - 10-06-2020, 04:30 PM
RE: Issue with Rope Consistency! - by josemendez - 10-06-2020, 04:45 PM
RE: Issue with Rope Consistency! - by Kifwat - 10-06-2020, 05:41 PM
RE: Issue with Rope Consistency! - by josemendez - 10-06-2020, 05:51 PM
RE: Issue with Rope Consistency! - by josemendez - 10-06-2020, 06:13 PM
RE: Issue with Rope Consistency! - by Kifwat - 10-06-2020, 06:46 PM
RE: Issue with Rope Consistency! - by josemendez - 10-06-2020, 08:01 PM
RE: Issue with Rope Consistency! - by Kifwat - 10-06-2020, 08:12 PM
RE: Issue with Rope Consistency! - by josemendez - 10-06-2020, 08:38 PM
RE: Issue with Rope Consistency! - by Kifwat - 10-06-2020, 08:55 PM
RE: Issue with Rope Consistency! - by josemendez - 10-06-2020, 09:09 PM
RE: Issue with Rope Consistency! - by Kifwat - 10-06-2020, 09:41 PM
RE: Issue with Rope Consistency! - by josemendez - 11-06-2020, 08:13 AM