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:
@@ -168,6 +168,7 @@ impl VelocitySolver {
|
||||
&rb.pos.position,
|
||||
&rb.mprops.local_mprops.local_com,
|
||||
);
|
||||
rb.integrated_vels = new_vels;
|
||||
rb.pos = new_pos;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user