Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  gravity does not apply when I manually set the fixed delta time
#7
(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 ?
Reply


Messages In This Thread
RE: gravity does not apply when I manually set the fixed delta time - by lufydad - 10-01-2022, 02:56 PM