21-06-2021, 09:28 AM
(This post was last modified: 21-06-2021, 09:30 AM by josemendez.)
(21-06-2021, 09:07 AM)alex798 Wrote: I presume that Updater is like general multiplier of calculation (for example instead of constains 2 we could set to 1 if we change updater from 1 to 2)?
Do you mean the updater's "substeps" parameter?
It is kinda like a general multiplier, yes. Basically it takes Unity's timestep and chops it up into multiple smaller sub-steps. All iterations are performed for each substep.
So if you set all constraint iterations to 1 and use 2 substeps, it's the same cost as using 2 iterations and 1 substep. However, substeps yield better quality. Usually you set all iterations to 1 and increase substeps. Then if you need to spend more resources on a *specific* kind of constraint, you use more iterations there.
For a detailed explanation of how the simulation works and what iterations/substeps are, see:
http://obi.virtualmethodstudio.com/manua...gence.html