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
For the following 2 boxes, they touch on plane x=1
use nalgebra::Vector3 as v3; let box1 = Cuboid::new(v3::new(0.5, 0.5, 0.5)); let pos1 = Isometry3::translation(0.5, 0.5, 0.5); let pos2 = Isometry3::translation(1.5, 0.5, 0.5); let exp_contact = contact(&pos1, &box1, &pos2, &box1, 0.0).unwrap().unwrap(); assert!(true == false, "pt1: {:?}, pt2:{:?}", exp_contact.point1, exp_contact.point2);
They are pt1: [0.5, 0.5, 0.5], pt2:[0.5, 0.5, 0.5], definitely wrong
And normal2 is [0.0, -1.0, 0.0], which I doubt is also wrong.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For the following 2 boxes, they touch on plane x=1
They are pt1: [0.5, 0.5, 0.5], pt2:[0.5, 0.5, 0.5], definitely wrong
And normal2 is [0.0, -1.0, 0.0], which I doubt is also wrong.
The text was updated successfully, but these errors were encountered: