Set default constraint solver mode more compatible to Blender 2.48 settings, this...
authorErwin Coumans <blender@erwincoumans.com>
Sat, 23 May 2009 22:35:47 +0000 (22:35 +0000)
committerErwin Coumans <blender@erwincoumans.com>
Sat, 23 May 2009 22:35:47 +0000 (22:35 +0000)
commiteb8c5f3272b87fffaf017badf55f761de9a04fd1
tree6ce64cb7c6c1a2028a8bdb75bb951f6ad0e01bec
parenta96ce9453f2a8d39e238d20c1c4dec9fe5becfb5
Set default constraint solver mode more compatible to Blender 2.48 settings, this fixes rigid body stacking in this blend file:
http://blenderartists.org/forum/showpost.php?p=1382653&postcount=102

(todo: expose this setting in World setting GUI)

Expose contact processing threshold in Advanced GUI, next to rigid body margin, called CPT.
Default to 1, makes rigid body stacking a bit more stable, smaller values makes sliding easier (at the cost of easier jittering).
Disabled for 'dynamic' objects that don't rotate, because characters etc. always need smooth sliding.
extern/bullet2/src/BulletDynamics/ConstraintSolver/btContactSolverInfo.h
source/blender/blenkernel/intern/object.c
source/blender/blenloader/intern/readfile.c
source/blender/makesdna/DNA_object_types.h
source/blender/src/buttons_logic.c
source/gameengine/Converter/BL_BlenderDataConversion.cpp
source/gameengine/Ketsji/KX_ConvertPhysicsObject.h
source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
source/gameengine/Physics/Bullet/CcdPhysicsController.h