31-01-2024, 03:14 PM
(This post was last modified: 31-01-2024, 03:16 PM by josemendez.)
(31-01-2024, 03:10 PM)Mulbin Wrote: Is this possible? I'd like to, for example, have a rope that is 3 meters long, then make it instantly 20 meters long. Rather than gradually extending it.
Hi!
Yes, using a ObiRopeCursor component this is the default behavior. For instance: to set the length to 20 meters, just add a cursor to the rope and call cursor.ChangeLength(20).
It will only change gradually if instead of setting a fixed length you add to its length over time, see the "Crane" sample scene for an example of this.
Note that your blueprint must have enough pooled particles to reach the length you set (see: http://obi.virtualmethodstudio.com/manua...setup.html). Also note that the newly added particles will be in the same place as the target one, so if you need to place them in any specific position you must do so manually. You have another example of this in the "GrapplingHook" sample scene.
kind regards,