Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  ChangeLength in Version 7
#1
It says in new documentation

Quote:ObiCursor.ChangeLength() no longer takes an absolute length as parameter, but a change in length.

So my app is using ChangeLength a lot and its designed in old way where it takes the absolute value. Is there any method that still uses the old way? What if we really want to set the length to a specific absolute value instead of change in length. For example I want rope length to be 5, now with this new method I have to calculate current length and provide an offset to bring it to 5 or I can still do it with any other method?
Reply
#2
(05-08-2024, 04:50 AM)vrtraining Wrote: So my app is using ChangeLength a lot and its designed in old way where it takes the absolute value. Is there any method that still uses the old way? What if we really want to set the length to a specific absolute value instead of change in length.

Hi!

You can just pass the difference between your desired and current length.

kind regards
Reply