(29-07-2022, 11:57 AM)RameezSafdar Wrote: I have imported Obi rope 6.4 into my project from asset store and documentation seems to be incomplete. I searched youtube videos and all of them are so old that they can not cater a new user who uses obi for 1st time.
Hi!
Documentation is up to date, and rather extensive:
http://obi.virtualmethodstudio.com/manual/6.3/
If you feel like any part of it is incomplete, please let me know so that I can cover more areas.
Videos in the web are also up to date (may be minor differences in UI in some videos):
http://obi.virtualmethodstudio.com/videos.html
Specifically, the video on how to create a basic rope was made with Obi 6.2 which is identical to 6.4 in most aspects:
https://www.youtube.com/watch?v=ajvNojym...Kns3UmsJ8B
(29-07-2022, 11:57 AM)RameezSafdar Wrote: I need help to create a simple rope and then I need to elongate / shorten it on runtime. How can I do this? Can someone help me with it? I created a simple rolpe
If you already created a simple rope, just add a ObiRopeCursor component on it and call its ChangeLength() method at runtime. There's an entire page in the manual dedicated specifically to this, "Changing rope length at runtime":
http://obi.virtualmethodstudio.com/manua...ursor.html
There's also some included sample scenes that do this, see the "Crane" one for example.
(29-07-2022, 11:57 AM)RameezSafdar Wrote: my rope doesnt collide,
Make sure that:
- You've added ObiColliders to the objects you want it to collide against. See the manual page about "collisions":
http://obi.virtualmethodstudio.com/manua...sions.html
- Collision constraints are globally enabled in the solver. See the manual page about "solvers":
http://obi.virtualmethodstudio.com/manua...olver.html
(29-07-2022, 11:57 AM)RameezSafdar Wrote: and if somehow i manage to make a visible rope in editor, in play mode that visual rope is no more there even though game object is.
As long as the rope is managed by a solver, it should be visible both in editor and at runtime, since that makes no difference. Also make sure that there's at least one updater component to tick the solver's simulation. To understand the relationship between updaters,solvers and actors in Obi, see:
http://obi.virtualmethodstudio.com/manua...cture.html
Keep in mind that Obi is a rather large and complex engine. It will take a while to learn how to use it, specially if you're unfamiliar with physics simulation and 3D in general.
Let me know if I can be of further help!