Obi Official Forum
Help Disable/Enable solver to disable simulation - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Help Disable/Enable solver to disable simulation (/thread-3633.html)



Disable/Enable solver to disable simulation - Sloppy - 05-11-2022

Hello! I want to disable and enable cloth simulation based on lod visibility (read it's just enough to disable/ebale the solver), the problem is that when i enable it cloth has visual lag, like jumps from old positions. This seems not happen if i test it with "simulate when invisible", so i assume there is a difference there. Need help to figure out what i miss. Thanks!


RE: Disable/Enable solver to disable simulation - josemendez - 07-11-2022

(05-11-2022, 03:06 PM)Sloppy Wrote: Hello! I want to disable and enable cloth simulation based on lod visibility (read it's just enough to disable/ebale the solver), the problem is that when i enable it cloth has visual lag, like jumps from old positions. This seems not happen if i test it with "simulate when invisible", so i assume there is a difference there. Need help to figure out what i miss. Thanks!

Hi Sloppy,

I couldn't reproduce any visual lag when disabling the solver, moving it to another place, and re-enabling the solver. Furthermore, simulation is performed in the solver's local space so moving it around should have no effect on the simulation (unless world linear/angular inertia scale settings are larger than zero).

Could you please share a short video of the issue, and share the code you're using for your LODing system?

kind regards,