20-09-2023, 06:38 AM
(This post was last modified: 20-09-2023, 06:41 AM by josemendez.)
(19-09-2023, 09:16 PM)erenjeagerot Wrote: Should I open any script and write the command there?
Correct.
(19-09-2023, 09:16 PM)erenjeagerot Wrote: Also, what is this thing called "cursor"?
We are not running a function of any obi component here, right?
As I previously mentioned in this thread, ObiRopeCursor is a Obi component that allows you to change the length of the rope at runtime:
(12-07-2023, 04:56 PM)josemendez Wrote: While setting the stretching scale can be useful in some situations, if you want to actually change the length of the rope you should use a cursor. All included sample scenes that change the length of a rope at runtime (Crane, GrapplingHook, FreightLift just to name some) do it this way.
There's quite a few examples of using cursors in the included sample scenes, and the manual page (there's a link to it in the previous paragraph) also contains sample code.
kind regards,