672492f563
This function sets the maximum number of logic frame executed per render frame. Valid values: 1..5 This function is useful to control the amount of processing consumed by logic. By default, up to 5 logic frames can be executed per render frame. This is fine as long as the time spent on logic is negligible compared to the render time. If it's not the case, the default value will drag the performance of the game down by executing unnecessary logic frames that take up most of the CPU time. You can avoid that by lowering the value with this function. The drawback is less precision in the logic system to physics and I/O activity. Note that it does not affect the physics system: physics will still run at full frame rate (actually up to 5 times the ticrate). You can further control the render frame rate with GameLogic.setLogicTicRate(). |
||
---|---|---|
.. | ||
Fuzzics | ||
include | ||
CMakeLists.txt | ||
convert.txt | ||
Makefile | ||
SConscript | ||
SumoPHYCallbackBridge.cpp | ||
SumoPHYCallbackBridge.h | ||
SumoPhysicsController.cpp | ||
SumoPhysicsController.h | ||
SumoPhysicsEnvironment.cpp | ||
SumoPhysicsEnvironment.h |