Why bullet proposes value to clamp number of substeps?
Posted: Fri Nov 02, 2018 9:13 am
Why bullet needs maxSubSteps at all? Why to clamp value at all? In the code i saw the following comment:
What does it mean?
Code: Select all
//clamp the number of substeps, to prevent simulation grinding spiralling down to a halt
int clampedSimulationSteps = (numSimulationSubSteps > maxSubSteps) ? maxSubSteps : numSimulationSubSteps;
code wrote: simulation grinding spiralling down