blender/source/gameengine
Benoit Bolsee 036ebc5523 BGE: GUI control over frame rate, logic rate, physics rate and physics subrate.
Four new buttons in World settings to control frame rate:
fps:  Nominal frame rate in frame per second.
      Also sets the physics timestep = 1/fps
phys: Maximum number of physics timestep per game frame in case
      the actual fps is less than nominal. This allows the 
      physics to keep up with real time even if the graphics slows
      down the game.
sub:  Fixed number of simulation substeps per physic timestep.
      Improves the precision of the physics simulation. Useful for
      fast moving objects for example.
log:  Maximum number of logic steps per game frame in case the 
      actual fps is less than nominal. This allows the logic
      system to follow the physics simulation. 
      Upper bound = phys 
      (setting the value higher than phys has no effect).
      On games with heavy logic system, it is useful to set this
      value to 1, to keep logic time under control.

All these values were already accessible from Python except phys:

GameLogic.getMaxPhysicsFrame():
	Gets the maximum number of physics frame per render frame.

GameLogic.setMaxPhysicsFrame(phys):
	Sets the maximum number of physics timestep that are executed per render frame.
	Higher value allows physics to keep up with realtime even if graphics slows down the game.
	Physics timestep is fixed and equal to 1/tickrate (see setLogicTicRate)
	maxphysics/ticrate is the maximum delay of the renderer that physics can compensate.
      phys: integer
2009-05-21 18:10:19 +00:00
..
BlenderRoutines BGE Dome: removing of size option and adding tilt option. 2009-05-17 20:37:13 +00:00
Converter BGE: GUI control over frame rate, logic rate, physics rate and physics subrate. 2009-05-21 18:10:19 +00:00
Expressions While testing YoFrankie with the new API attributes found some issues... 2009-05-17 16:30:18 +00:00
GameLogic BGE logic patch: fix another incompatibility with YF. 2009-05-20 08:45:42 +00:00
GamePlayer BGE Dome: removing of size option and adding tilt option. 2009-05-17 20:37:13 +00:00
Ketsji BGE: GUI control over frame rate, logic rate, physics rate and physics subrate. 2009-05-21 18:10:19 +00:00
Network BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
Physics BGE soft body: give access to the soft body collision margin in the Advanced panel. By default the collision margin is set to 0.25, which causes the soft body to somewhat float above the ground. You can decrease this value to get more realistic collision. Note that the algorithm may become unstable with lower margin. 2009-05-18 21:32:03 +00:00
PyDoc BGE: GUI control over frame rate, logic rate, physics rate and physics subrate. 2009-05-21 18:10:19 +00:00
Rasterizer BGE bug #18762 fixed: softbody. An incompatibility between the soft body deformer and other types of deformer was causing the soft body to disappear in the game. This was the case when the soft body had an armature or simply vertex groups. 2009-05-19 06:48:36 +00:00
SceneGraph BGE logic patch: fix another incompatibility with YF. 2009-05-20 08:45:42 +00:00
VideoTexture BGE performance, 3rd round: culling and rasterizer. 2009-05-07 09:13:01 +00:00
CMakeLists.txt cmake: apply ADD_SUBDIR patch. 2009-05-17 12:25:06 +00:00
Makefile Makefile fixes for compiling with new videotexture code. 2008-11-02 18:12:45 +00:00
SConscript Building the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID. 2009-02-25 12:07:51 +00:00