Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Issue with Rope Consistency!
#11
(10-06-2020, 08:12 PM)Kifwat Wrote: Okey that sounds good, but I think that will be easy just if the rope is straight and the two cubes move in a straight movement, so we can add edit the rope's length depending on the distance between the two cubes, but how can we do that when the rope is foldable and not straight? I mean in case the rope is stretched by other object's movement, how can we track that and then increase its length depending on the contact with the other object?

I don’t get your question.  Huh  The length of a rope is always the same regardless of it being straight, rolled up or folded in any position.

If you want to get the actual rope length including stretching -instead of its rest length-, just call rope.CalculateLength(). This will return the current rope length accounting for any stretching: the sum of all distances between each particle and the next one, so it’s really just the same as the case when the rope is straight. Check the API docs, and the crane example.
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