CCD improvements
- Fix bug where the CCD thickness wasn’t initialized properly. - Fix bug where the contact compliance would result in unwanted tunelling, despite CCD being enabled.
This commit is contained in:
@@ -752,7 +752,7 @@ pub struct RigidBodyCcd {
|
||||
impl Default for RigidBodyCcd {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
ccd_thickness: 0.0,
|
||||
ccd_thickness: Real::MAX,
|
||||
ccd_max_dist: 0.0,
|
||||
ccd_active: false,
|
||||
ccd_enabled: false,
|
||||
|
||||
Reference in New Issue
Block a user