blender/source/gameengine/Converter
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
..
BL_ActionActuator.cpp code cleanup: naming - pose/armature/image 2012-05-05 16:03:57 +00:00
BL_ActionActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_ArmatureActuator.cpp option for the Armature Actuator to change the influence of a bone constraint. 2012-03-03 02:47:01 +00:00
BL_ArmatureActuator.h option for the Armature Actuator to change the influence of a bone constraint. 2012-03-03 02:47:01 +00:00
BL_ArmatureChannel.cpp code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]') 2012-04-12 00:15:02 +00:00
BL_ArmatureChannel.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
BL_ArmatureConstraint.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
BL_ArmatureConstraint.h option for the Armature Actuator to change the influence of a bone constraint. 2012-03-03 02:47:01 +00:00
BL_ArmatureObject.cpp code cleanup: naming - pose/armature/image 2012-05-05 16:03:57 +00:00
BL_ArmatureObject.h code cleanup: naming - pose/armature/image 2012-05-05 16:03:57 +00:00
BL_BlenderDataConversion.cpp BGE patch #28476: Character object physics type 2012-05-28 21:36:29 +00:00
BL_BlenderDataConversion.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_DeformableGameObject.cpp style cleanup 2012-03-28 05:03:24 +00:00
BL_DeformableGameObject.h code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
BL_MeshDeformer.cpp code cleanup: 2012-05-20 19:49:27 +00:00
BL_MeshDeformer.h style cleanup - remove unneeded ';'s 2012-03-08 03:05:57 +00:00
BL_ModifierDeformer.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
BL_ModifierDeformer.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_ShapeActionActuator.cpp style cleanup 2012-03-28 05:03:24 +00:00
BL_ShapeActionActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_ShapeDeformer.cpp code cleanup: function naming, use BKE_*type* prefix. 2012-05-05 14:03:12 +00:00
BL_ShapeDeformer.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_SkinDeformer.cpp code cleanup: naming - pose/armature/image 2012-05-05 16:03:57 +00:00
BL_SkinDeformer.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BlenderWorldInfo.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
BlenderWorldInfo.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
CMakeLists.txt Fix for windows compile. 2012-04-28 22:59:55 +00:00
KX_BlenderScalarInterpolator.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_BlenderScalarInterpolator.h style cleanup - remove unneeded ';'s 2012-03-08 03:05:57 +00:00
KX_BlenderSceneConverter.cpp 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
KX_BlenderSceneConverter.h style cleanup - remove unneeded ';'s 2012-03-08 03:05:57 +00:00
KX_ConvertActuators.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_ConvertActuators.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ConvertControllers.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_ConvertControllers.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ConvertProperties.cpp Warning Fixes - const correctness in unicode encoding, unused variables in blenlib, and some type conversions 2012-04-09 01:16:19 +00:00
KX_ConvertProperties.h style cleanup: guys - set your editors to tabs! 2012-05-01 17:51:03 +00:00
KX_ConvertSensors.cpp style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_ConvertSensors.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_IpoConvert.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_IpoConvert.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SoftBodyDeformer.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_SoftBodyDeformer.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
SConscript Fix for windows compile. 2012-04-28 22:59:55 +00:00