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
parry/src/query/split/split_trimesh.rs
Lines 584 to 598 in b72ccd4
when none of condition it will hang infinitely
The text was updated successfully, but these errors were encountered:
Do you happen to have an example trimesh ready to reproduce this ?
Sorry, something went wrong.
yes
use parry3d::{math::Point, na::Vector3, query::IntersectResult, shape::TriMesh}; fn main() { let points = vec![ Point::from([0.0, 0.0, 0.0]), Point::from([0.0, 0.0, 1.0]), Point::from([1.0, 0.0, 0.0]), Point::from([1.0, 0.0, 1.0]), ]; let indices = vec![[0, 1, 2], [1, 3, 2]]; let trimesh = TriMesh::new(points, indices); let colid = trimesh.intersection_with_local_plane(&Vector3::<f32>::x_axis(), 0.5, 0.0005); match colid { IntersectResult::Intersect(points) => { println!("poliline {:#?}", points); } IntersectResult::Negative => { println!("positif"); } IntersectResult::Positive => { println!("negatif"); } } }
intersection_with_local_plane
Successfully merging a pull request may close this issue.
parry/src/query/split/split_trimesh.rs
Lines 584 to 598 in b72ccd4
when none of condition it will hang infinitely
The text was updated successfully, but these errors were encountered: