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
#8
(10-01-2022, 02:56 PM)lufydad Wrote: 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 ?

Yes, that should work.
Reply


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