Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  How to Grow Length of rope from tail at runtime?
#1
Estrella 
Hi, how to grow 'x' amount of length of from from tail end of the rope at runtime? Eg. if length is 1, increase/add .2f more length from tail.  New to Obi... please help! Tímido Huh
Reply
#2
Hi!

You can use cursors to change rope length from any point in the rope, in either direction. See:
http://obi.virtualmethodstudio.com/manua...ursor.html

Programmatically, you just call cursor.ChangeLength() and pass the new length in meters. Check out the Crane sample scene or the RopeGrapplingHook one for  working examples.
Reply