Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Performance issue and massive frame drops
#4
(20-02-2020, 06:52 PM)hazneliel Wrote: By reducing the max timestep it makes the game run slower with a higher fps. This is not desired. On top of that even when I get the Obi fixed update to be called 1 per frame, that single fixed update is using 20% of cpu time. That is a lot

Hi Maria,

Reducing the max timestep will cap the amount of wall-clock time advanced in the physics world, so it will increase your fps at the cost of "skipping" simulation time if your frames take longer to render than a single step. An alternative would be increasing the timestep (fixed timestep, not max timestep).

20% of CPU time depends on what your total CPU consumption for a frame is. Also, higher CPU consumption % is generally better as that means all cores are busy. So depending on your case, It can be a lot, or very little. How many ms/frame does the solver take to perform a step?
Reply


Messages In This Thread
RE: Performance issue and massive frame drops - by josemendez - 21-02-2020, 08:10 AM