blender/source
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
..
blender 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
blenderplayer finish cleanup for plugins 2012-05-29 10:31:42 +00:00
creator finish cleanup for plugins 2012-05-29 10:31:42 +00:00
darwin replace former applescript with an editable one 2011-10-19 19:15:35 +00:00
gameengine 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
icons set svn end of lines to native 2011-05-09 08:15:38 +00:00
tests code cleanup: remove mode comments, these were applied very un-evenly across a few files. 2012-05-27 13:22:43 +00:00
CMakeLists.txt remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SConscript Add libMV and Scons support for MinGW-w64, patches by Caleb Joseph with slight modifications. 2012-04-24 12:57:58 +00:00