Engine slower at idle?

Sep 22, 2009 at 10:24 PM

Hello guys,

it's been a while. I've noticed something, and can't quite discern why this is

happening.

When all objects are floating around in the middle of the screen, hitting things,

in the pyramid/agent test, everything runs optimally,

but when all the objects settle to the bottom, the framerate drops like 2000%.

Why is that?

Coordinator
Sep 22, 2009 at 11:54 PM

It might be the broadphase that is working hard to maintain pairs. If the geometries are close to each other, the broadphase will take up more time. If you run the samples at 100 fps the engine only have 10 ms to complete it's update cycle. If you get above 10 ms (because of the added load from geometry clustering) the framerate will drop (a lot).

You could try with another broad phase algorithm and see if that lightens the load.