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!


Help How to Grow Length of rope from tail at runtime?
|
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!
![]() ![]()
13-09-2021, 11:12 AM
(This post was last modified: 13-09-2021, 11:12 AM by josemendez.)
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. |
« Next Oldest | Next Newest »
|