Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope not rendering Unity 2021.3.14
#1
Hey guys! First want to mention that it's not my first rope ) Strange thing: when I making rope from scratch - rendering doesn't work for me: neither extrude mesh nor line renderer. When I just dragging that rope to a solver that I've made previously as a prefab - it works. And most interesting part, that when I return that rope back to the original solver - it renders without any issues


Attached Files Thumbnail(s)
       
Reply
#2
(22-08-2023, 03:10 PM)kebab_traume Wrote: Hey guys! First want to mention that it's not my first rope ) Strange thing: when I making rope from scratch - rendering doesn't work for me: neither extrude mesh nor line renderer. When I just dragging that rope to a solver that I've made previously as a prefab - it works. And most interesting part, that when I return that rope back to the original solver - it renders without any issues

Hi,

As long as the rope is parented under a solver, and that solver is included in an updater, both simulation and rendering should work.

How are you creating the rope?

kind regards,
Reply
#3
(22-08-2023, 03:20 PM)josemendez Wrote: Hi,

As long as the rope is parented under a solver, and that solver is included in an updater, both simulation and rendering should work.

How are you creating the rope?

kind regards,
Thank you for the quick reply Jose! 
I found the problem. For some reasons solver doesn't have the fixed updater component. After I've added it and gave reference to a solver - everything works. So the next question - why it works like that? I haven't add that component manually before
Reply
#4
(23-08-2023, 08:57 AM)kebab_traume Wrote: Thank you for the quick reply Jose! 
I found the problem. For some reasons solver doesn't have the fixed updater component. After I've added it and gave reference to a solver - everything works. So the next question - why it works like that? I haven't add that component manually before


Whenever you create a new solver object from the GameObject menu, the solver is automatically added to the first updater present in the scene (a new updater is created, if none exists yet). This follows how many other GameObjects in Unity work: for instance, when you create a new UI panel/button/etc, it will be added to the first canvas in the scene - a new canvas will be created if there isn't one yet.

If you have copied the solver manually from another scene or created the component yourself, then it is your responsibility to add the solver to an updater of your choice. See:
http://obi.virtualmethodstudio.com/manua...cture.html
http://obi.virtualmethodstudio.com/manua...aters.html
Reply
#5
(23-08-2023, 09:38 AM)josemendez Wrote: Whenever you create a new solver object from the GameObject menu, the solver is automatically added to the first updater present in the scene (a new updater is created, if none exists yet). This follows how many other GameObjects in Unity work: for instance, when you create a new UI panel/button/etc, it will be added to the first canvas in the scene - a new canvas will be created if there isn't one yet.

If you have copied the solver manually from another scene or created the component yourself, then it is your responsibility to add the solver to an updater of your choice. See:
http://obi.virtualmethodstudio.com/manua...cture.html
http://obi.virtualmethodstudio.com/manua...aters.html
Yeah, you're right. I found hidden disabled solver in manager component, and it was the reason why I didn't have fixed updater on created solver. Thank you for your patience Jose, great support!
Reply