10-01-2022, 02:56 PM
(10-01-2022, 02:44 PM)josemendez Wrote: Hi!
"Theshold" is the (time-dependent) input threshold you want to use, this is a value you set. The equation outputs a time-independent threshold, which is the one you feed to the solver's sleepThreshold.
So the equation sits in between your hand-picked threshold value, and the one fed to Obi.
Ok, then suppose I input 0.001 for the sleepThreshold at the beginning of the simulation and the user input 1/60 for the fixedDeltaFrame, then using your equation :
Code:
timestepIndependentThreshold = sqrt(0.001 * 2) * 1/60 = 3.33*1e-5
I should put the sleepThreshold to this value, is this correct ?