We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In v0.11.1, time-of-impact queries are returning inconsistent results for toi=0, depending on which shapes are involved.
toi=0
If both shapes are balls, toi=0 results in status=converged (https://github.com/dimforge/parry/blob/v0.11.1/src/query/time_of_impact/time_of_impact_ball_ball.rs#L45)
status=converged
let status = if inside && center.coords.norm_squared() < rsum * rsum { TOIStatus::Penetrating } else { TOIStatus::Converged };
If one shape is a cuboid, and the other a ball, toi=0 results in status=penetrating (https://github.com/dimforge/parry/blob/v0.11.1/src/query/time_of_impact/time_of_impact_support_map_support_map.rs#L50):
status=penetrating
status: if toi.is_zero() { TOIStatus::Penetrating } else { TOIStatus::Converged },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In v0.11.1, time-of-impact queries are returning inconsistent results for
toi=0
, depending on which shapes are involved.If both shapes are balls,
toi=0
results instatus=converged
(https://github.com/dimforge/parry/blob/v0.11.1/src/query/time_of_impact/time_of_impact_ball_ball.rs#L45)If one shape is a cuboid, and the other a ball,
toi=0
results instatus=penetrating
(https://github.com/dimforge/parry/blob/v0.11.1/src/query/time_of_impact/time_of_impact_support_map_support_map.rs#L50):The text was updated successfully, but these errors were encountered: