mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +02:00
Update RADIUS_MOTION_THRESHOLD_MULTIPLIER
This commit is contained in:
parent
7694958b20
commit
7c5f0bb620
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ void ObjectMotionState::updateCCDConfiguration() {
|
||||||
if (_shape) {
|
if (_shape) {
|
||||||
// If this object moves faster than its bounding radius * RADIUS_MOTION_THRESHOLD_MULTIPLIER,
|
// If this object moves faster than its bounding radius * RADIUS_MOTION_THRESHOLD_MULTIPLIER,
|
||||||
// CCD will be enabled for this object.
|
// CCD will be enabled for this object.
|
||||||
const auto RADIUS_MOTION_THRESHOLD_MULTIPLIER = 2.0f;
|
const auto RADIUS_MOTION_THRESHOLD_MULTIPLIER = 0.5f;
|
||||||
|
|
||||||
btVector3 center;
|
btVector3 center;
|
||||||
btScalar radius;
|
btScalar radius;
|
||||||
|
|
Loading…
Reference in a new issue