Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Test if rope is tense, and extend it in code
#1
Hello, i have a rope attached on 2 player. I want to test in c# if the rope is tense enougth, and if so, extend the rope (when the player it a button for exemple).

I have found in GrapplingHook the way to extend the rope, with [ObiRopeCursor].ChangeLength([ObiRope].RestLength +- value;
Now, how can I test if the rope is more or less tense ? I could test the distance maybe...

I just bougth Obi rope, please be explicit

[Image: ezgif-4-e6bff1cec6.gif]
Reply


Messages In This Thread
Test if rope is tense, and extend it in code - by usernameHed - 18-03-2018, 12:56 PM