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
Since parry2d doesn't have much documentation yet, I found this example from ncollide: https://www.ncollide.org/geometric_queries/#contact
However, in parry, it doesn't find any collision, and we get Ok(None). Am I misunderstanding some difference between ncollide and parry here?
Ok(None)
#[test] fn test_contact_example() { let contact = query::contact( &Isometry::translation(1.0, 1.0), &Ball::new(1.0), &Isometry::identity(), &Cuboid::new(Vector2::new(1.0, 1.0)), 1.0, ) .unwrap() .unwrap(); assert!(contact.dist < 0.0); }
The text was updated successfully, but these errors were encountered:
Hi! This looks like a bug with the special case where one of the cuboid's corner lies exactly on the ball's center.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Since parry2d doesn't have much documentation yet, I found this example from ncollide: https://www.ncollide.org/geometric_queries/#contact
However, in parry, it doesn't find any collision, and we get
Ok(None)
. Am I misunderstanding some difference between ncollide and parry here?The text was updated successfully, but these errors were encountered: