Bug / Crash Rope not rendering - 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: Bug / Crash Rope not rendering (/thread-4174.html) |
Rope not rendering - Eddie - 15-04-2024 Hi, I've been trying to implement a cable that lifts a boat on the scene but for some reason I can't understand why, the rope keeps disappearing at run time and once I try to play the scene, the rope even disappears from the editor. To give full details, I've recorded a video showing my problem, I would truly appreciate your help on this. Link to the video: Rope not rendering Thank you. Eddie RE: Rope not rendering - josemendez - 15-04-2024 Hi Eddie, The video doesn't show whether the solver is included in any ObiUpdater. Solvers that aren't part of any updater will not have their simulation updated and will not be rendered, could this be your problem? See: https://obi.virtualmethodstudio.com/manual/6.3/bigpicture.html https://obi.virtualmethodstudio.com/manual/6.3/updaters.html About the rope being "transparent" on the inside, that's regular backface culling which is applied to all meshes by default (not just in Unity, but most 3D software): the back side of faces is not rendered to save resources. You should use a two-sided material (or two materials, one for front faces and a second one for back faces) if you want to render faces inside of an object. See: https://en.wikipedia.org/wiki/Back-face_culling https://forum.unity.com/threads/backface-culling-in-unity.48919/ https://discussions.unity.com/t/how-can-i-turn-off-backface-culling/255428 RE: Rope not rendering - Eddie - 16-04-2024 (15-04-2024, 06:50 PM)josemendez Wrote: Hi Eddie,Hi Jose, First of all, thank you very much for replying so fast, I really appreciate that I will go over the sources of information you sent me and try to apply some solution to it. At first, you are right, the solver did not have an updater but even after I applied a Fixed Updater to the solver and ran the scene again, the problem was still there. Today I did not have a chance to explore this further but I will go back to it between today and tomorrow and I will keep you posted. Thanks a lot once again. Cheers. Eddie RE: Rope not rendering - Eddie - 17-04-2024 [attachment=2040 Wrote:Eddie pid='15566' dateline='1713288218']Hi Jose, I figured it out I forgot to drag and drop the solver in the Solvers array... When the solver is instantiated in the scene, it starts with the Solvers components collapsed and I did not realize one needs to drop the solver itself to the array. Once expanded, I dragged the solver to the first array element (Element 0 as seen in the picture) and now the rope no longer disappears from the scene. I am leaving this feedback just in case someone runs into the same problem and need to search for a solution in this forum. Thank you so much for taking me to the right direction and for the fast response. |