Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/gameengine/Physics/Bullet/CcdPhysicsController.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp b/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
index 111cfdb2c44..b389347cdb0 100644
--- a/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
+++ b/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
@@ -536,7 +536,9 @@ void CcdPhysicsController::CreateRigidbody()
{
body->setAngularFactor(0.f);
}
- body->setContactProcessingThreshold(m_cci.m_contactProcessingThreshold);
+ // use bullet's default contact processing theshold, blender's old default of 1 is too small here.
+ // if there's really a need to change this, it should be exposed in the ui first.
+// body->setContactProcessingThreshold(m_cci.m_contactProcessingThreshold);
body->setSleepingThresholds(gLinearSleepingTreshold, gAngularSleepingTreshold);
}