Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Rope not rendering
#1
Exclamación 
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
Reply
#2
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/manu...cture.html
https://obi.virtualmethodstudio.com/manu...aters.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...ity.48919/
https://discussions.unity.com/t/how-can-...ing/255428
Reply
#3
(15-04-2024, 06:50 PM)josemendez Wrote: 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/manu...cture.html
https://obi.virtualmethodstudio.com/manu...aters.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...ity.48919/
https://discussions.unity.com/t/how-can-...ing/255428
Hi Jose,
First of all, thank you very much for replying so fast, I really appreciate that [Image: smile.png]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
Reply
#4
[attachment=2040 Wrote:Eddie pid='15566' dateline='1713288218']Hi Jose,
First of all, thank you very much for replying so fast, I really appreciate that [Image: smile.png]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

I figured it out Sonrisa
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.


Attached Files Thumbnail(s)
   
Reply