setAutoClearForces method
Set flag to control automatic clearing of forces after each time step.
Implementation
void setAutoClearForces(bool shouldAutoClear) {
if (shouldAutoClear) {
flags |= clearForcesBit;
} else {
flags &= ~clearForcesBit;
}
}