Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Part of rope Tense
#4
(18-03-2021, 12:47 PM)tpaslou Wrote: I have made some modifications and the part appears to be mostly tense even when it's not. So I checked the indexes for which I am calculating the strain. 

What does the elements array consist of ? My rope has 15 control points , but the rope.elements.count  is 86.

Control points do not exist at runtime. They are not part of the rope, they are part of the path used in-editor to define the rope's initial shape.

Ropes are made of particles (since Obi is a particle based engine) and structural elements. You can think of elements as the "edges" in between particles. Each edge joins two particles.

So for instance: if you rope has 86 elements, the element at 10% of the rope's length is element 0.1 * 86 = 9.
Reply


Messages In This Thread
Part of rope Tense - by tpaslou - 17-03-2021, 03:55 PM
RE: Part of rope Tense - by josemendez - 18-03-2021, 09:36 AM
RE: Part of rope Tense - by tpaslou - 18-03-2021, 12:47 PM
RE: Part of rope Tense - by josemendez - 18-03-2021, 01:39 PM
RE: Part of rope Tense - by tpaslou - 18-03-2021, 02:29 PM
RE: Part of rope Tense - by josemendez - 18-03-2021, 02:34 PM
RE: Part of rope Tense - by tpaslou - 18-03-2021, 02:59 PM
RE: Part of rope Tense - by josemendez - 18-03-2021, 03:09 PM