Cloth Lag When Using World-Space Mode [Solved] - 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: Cloth Lag When Using World-Space Mode [Solved] (/thread-167.html) |
Cloth Lag When Using World-Space Mode [Solved] - virtushda - 03-10-2017 Issue: Cloth lags behind character movement a bit when the Solver is set to World-Space, and FixedUpdate modes both. I get terrible performance from using multiple local-space solvers(not sure why), so I've wanted to shove everything through one world-space solvers. As I was writing this, I realized that my character script updates movement in Update(), instead of FixedUpdate(). That was the problem. But I figured I'd finish writing this in-case anyone else has this issue. I didn't see this in the documentation, so this might be something to add on the Solver page. RE: Cloth Lag When Using World-Space Mode [Solved] - josemendez - 03-10-2017 (03-10-2017, 11:54 AM)virtushda Wrote: Issue: Cloth lags behind character movement a bit when the Solver is set to World-Space, and FixedUpdate modes both. I get terrible performance from using multiple local-space solvers(not sure why), so I've wanted to shove everything through one world-space solvers. Alternatively, you can set the solver's update mode to "Late Update", and keep your character's movement in Update(). That should work too. thanks for pointing out the omission in the docs! |