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
#2
(10-01-2022, 11:17 AM)lufydad Wrote: Hello,

When I set the fixed delta time from script to 1/60 in an empty scene with just a rope, the rope just stay still, the gravity does not seem to apply on it. If I change the fixed delta time to another value the rope falls down normally.

I use Obi 6.2, Unity 2021.2.4f, and DX11.

Is there something that I can do to fixed this ?
Hi!

Just set the solver's sleep threshold accordingly. This is the minimum kinetic energy above which particles are allowed to move. If you reduce the timestep, the kinetic energy during a single timestep will also be reduced, preventing any particle whose energy is below the threshold to move. See:
http://obi.virtualmethodstudio.com/manua...olver.html

You can set it to zero if you want particles to move regardless of how much energy they have. Note this may result in positional drifting/jittering.
Reply


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