![]() |
Help Slowed Simulation Problems - 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 Slowed Simulation Problems (/thread-649.html) |
Slowed Simulation Problems - Reiffer - 16-08-2018 Hello! I've recently started using ObiCloth to enhance some of my characters' clothing and I'm in the process of integrating my own slo-mo logic into it (as I'm avoiding using Unity's own timescale). Recently I've been running into a problem with the clothing deforming and "crinkling" during this slo-mo process. You can see this effect in this gif. You can also see the change that I've made to ObiSolver's LateUpdate (as I saw you recommended in a previous thread) posted below. Any insight into this would be welcome (I'm also having problems with collisions and clipping but that's a separate issue that I'll bugfix later)! Code: private void LateUpdate(){ RE: Slowed Simulation Problems - josemendez - 16-08-2018 (16-08-2018, 11:37 AM)Reiffer Wrote: Hello! Hi, We have been unable to reproduce this by altering the code as per your example. The resulting simulation is completely smooth. Are you positive that: 1.- The solver's simulation order is indeed set to LateUpdate? 2.- SlowTimeManager.fTimeScaleGlobal is always >= 1? (as values smaller than 1 would speed things up instead of slowing them down) RE: Slowed Simulation Problems - Reiffer - 20-08-2018 (16-08-2018, 02:50 PM)josemendez Wrote: Hi, fTimeScaleGlobal was the problem, as you noticed. My maths teach would be ashamed of me. Thanks so much for the assist! |