Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Rest Length" returns unexpected values
#7
(20-05-2021, 06:16 PM)josemendez Wrote:
Code:
GetComponent<ObiRope>().ropeBlueprint.path.Length;

This will return the exact length of the path used to generate the rope.

Thanks! I have a feeling that this will return the length of the path (via some sort of integration along the curve) and not the length of the rope that approximates the path... butttt... it's probably close enough.
Reply


Messages In This Thread
RE: "Rest Length" returns unexpected values - by Hatchling - 20-05-2021, 07:31 PM