10-12-2019, 12:28 PM
(This post was last modified: 10-12-2019, 12:30 PM by josemendez.)
(10-12-2019, 12:15 PM)Wattosan Wrote: Hey,
I reduced the max particle count to 600 for the solver but this did not have any notable effect. Used particle count is 165 (noticed this information inside the Solver's inspector.
Sometimes ObiSolver.LateUpdate() and ObiSolver.FixedUpdate() taken up roughly the same amount of time (4ms each) but most of the time LateUpdate() takes around 6ms and FixedUpdate() 2ms.
What should the ms stay at? Doesn't this depend on little bit on the hardware? CPU is 7700HQ and GPU GTX 1070, if that helps. And these measurements are taken from inside the Editor. Perhaps the calculation time is reduced in a build.
Hi,
How many constraint iterations/solver substeps are you using? 4-7 ms for a bit over a hundred particles is not normal. Should be below half a millisecond in-editor. Depends a bit on the hardware, but with a quad-core CPU it should be even faster.
Edit: I assume you're not using deep profiling?