Obi Official Forum

Full Version: How to Grow Length of rope from tail at runtime?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.