Obi Official Forum
Help ObiRopeCursor documentation is out of date - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help ObiRopeCursor documentation is out of date (/thread-2326.html)



ObiRopeCursor documentation is out of date - protomenace - 20-06-2020

I'm trying to use ObiRopeCursor to grow a rope for a Harpoon launcher (also running into other issues as per http://obi.virtualmethodstudio.com/forum/thread-2325.html). The documentation for the ropecursor (http://obi.virtualmethodstudio.com/tutorials/ropecursor.html) mentions a Normalized Coord property. However this property no longer seems to exist. Instead, the cursor contains two properties: "sourceMu" and "cursorMu". http://obi.virtualmethodstudio.com/docs/class_obi_1_1_obi_rope_cursor.html

Is there updated documentation I'm missing somewhere? What is the appropriate way to set the position of new particles with ObiRopeCursor? What do "sourceMu" and "cursorMu" do?

[attachment=728]


RE: ObiRopeCursor documentation is out of date - josemendez - 22-06-2020

(20-06-2020, 07:58 PM)protomenace Wrote: I'm trying to use ObiRopeCursor to grow a rope for a Harpoon launcher (also running into other issues as per http://obi.virtualmethodstudio.com/forum/thread-2325.html). The documentation for the ropecursor (http://obi.virtualmethodstudio.com/tutorials/ropecursor.html) mentions a Normalized Coord property. However this property no longer seems to exist. Instead, the cursor contains two properties: "sourceMu" and "cursorMu". http://obi.virtualmethodstudio.com/docs/class_obi_1_1_obi_rope_cursor.html

Is there updated documentation I'm missing somewhere? What is the appropriate way to set the position of new particles with ObiRopeCursor? What do "sourceMu" and "cursorMu" do?

Thanks for pointing this out! I've updated the documentation.

For convenience:
- The cursor mu is the normalized position of the cursor along the rope. This is where new particles will be inserted or removed.
- The source mu is the normalized position from which particles will be copied from, when inserting them at the cursor mu. This is useful if your rope has non-uniform thickness, color, or any other property.


RE: ObiRopeCursor documentation is out of date - protomenace - 22-06-2020

(22-06-2020, 08:34 AM)josemendez Wrote: Thanks for pointing this out! I've updated the documentation.

For convenience:
- The cursor mu is the normalized position of the cursor along the rope. This is where new particles will be inserted or removed.
- The source mu is the normalized position from which particles will be copied from, when inserting them at the cursor mu. This is useful if your rope has non-uniform thickness, color, or any other property.

Excellent, thank you!