Skip to content

Commit

Permalink
Trying to make bullet a little more robust to tunnelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Riordan-DC committed Feb 18, 2024
1 parent 9c063cb commit 996d0aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/bullet/rigid_body_bullet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ void RigidBodyBullet::set_continuous_collision_detection(bool p_enable) {
if (p_enable) {
// This threshold enable CCD if the object moves more than
// 1 meter in one simulation frame
btBody->setCcdMotionThreshold(1e-7);
btBody->setCcdMotionThreshold(1e-6);

/// Calculate using the rule writte below the CCD swept sphere radius
/// CCD works on an embedded sphere of radius, make sure this radius
Expand Down

0 comments on commit 996d0aa

Please sign in to comment.