Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Test if rope is tense, and extend it in code
#4
(18-03-2018, 02:24 PM)usernameHed Wrote: Oh thanks you ! what is the most cost efficient between a distance test, and this calculation ?
thanks you, this Rope asset is realy good btw Sonrisa

A simple distance test is slightly faster, since this code calculates actual rope length.

However, a distance test will only work properly in the case of a rope that is completely straight when tense. If the rope is not straight (imagine a slingshot, in which the rope is tense but bent where it holds the projectile) then the distance test will underestimate rope tension. Keep this in mind when choosing your method! Sonrisa

Also, keep in mind that any performance gains obtained from choosing one or the other will be barely noticeable, if at all. (unless you have hundreds of ropes)
Reply


Messages In This Thread
RE: Test if rope is tense, and extend it in code - by josemendez - 18-03-2018, 02:33 PM