From 510189dfbc60705dfc5cb7847112ef6723044b1a Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 17 Nov 2015 15:08:05 -0800 Subject: [PATCH] Update CCD motion threshold --- libraries/physics/src/ObjectMotionState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/physics/src/ObjectMotionState.cpp b/libraries/physics/src/ObjectMotionState.cpp index 6f1b928456..f6e15d8539 100644 --- a/libraries/physics/src/ObjectMotionState.cpp +++ b/libraries/physics/src/ObjectMotionState.cpp @@ -121,7 +121,7 @@ void ObjectMotionState::updateCCDConfiguration() { btVector3 center; btScalar radius; _shape->getBoundingSphere(center, radius); - _body->setCcdMotionThreshold(radius * 2.0f); + _body->setCcdMotionThreshold(radius / 4.0f); _body->setCcdSweptSphereRadius(radius); } else { // Disable CCD