blender/source/gameengine
Benoit Bolsee 58bc424b3c BGE #30734: add support for physics linear and angular thresholds and deactivation time from python and GUI.
========================
The linear and angular thresholds set the speed limit (in m/s) and rotation limit (in rad/s)
under which a rigid body will go to sleep (stop moving) if it stays below the limits for a 
time equal or longer than the deactivation time (sleeping is disabled is deactivation time is 
set to 0).
These settings help reducing the processing spent on Physics during the game.

Previously they were only accessible from python but not working because of a bug. 
Now the python functions are working and the settings are available in the Physics panel
of the World settings when using the Blender Game render engine.

Python API:
  import PhysicsConstraints
  PhysicsConstraints.setDeactivationLinearTreshold(float)
  PhysicsConstraints.setDeactivationAngularTreshold(float)
2012-05-29 20:30:33 +00:00
..
BlenderRoutines Also updating CMakeLists.txt. 2012-04-28 23:40:38 +00:00
Converter BGE #30734: add support for physics linear and angular thresholds and deactivation time from python and GUI. 2012-05-29 20:30:33 +00:00
Expressions revert 45924, not a very clean solution, especially for external libraries and looks like -fpermissive is used in linux too 2012-04-24 16:14:23 +00:00
GameLogic code cleanup: 2012-05-20 19:49:27 +00:00
GamePlayer Fix #31366: check to enable opengl quadbuffer stereo was wrong, causing it to 2012-05-09 11:11:35 +00:00
Ketsji BGE patch #28476: Character object physics type 2012-05-28 21:36:29 +00:00
Network code cleanup: 2012-05-20 19:49:27 +00:00
Physics BGE #30734: add support for physics linear and angular thresholds and deactivation time from python and GUI. 2012-05-29 20:30:33 +00:00
Rasterizer code cleanup: 2012-05-20 19:49:27 +00:00
SceneGraph code cleanup: 2012-05-20 19:49:27 +00:00
VideoTexture fix for own error in applying patch 2012-05-26 13:08:42 +00:00
CMakeLists.txt code cleanup: remove mode comments, these were applied very un-evenly across a few files. 2012-05-27 13:22:43 +00:00
SConscript enable building the game engine without bullet for scons & cmake 2010-10-10 07:01:56 +00:00