dimforge / parry

2D and 3D collision-detection library for Rust.
https://parry.rs
Apache License 2.0
557 stars 97 forks source link

Fix linear TOI computation when the first shape is rotated + remove target_dist argument #23

Closed sebcrozet closed 3 years ago

sebcrozet commented 3 years ago

Fix #19 In addition this removes the target_dist argument. That argument results in a significant amount of complexity in the general case, and is prone to return a result that is less accurate. So I think it's best to remove it as it will be set to 0.0 most of the time anyways.