parry
parry copied to clipboard
2D and 3D collision-detection library for Rust.
- context in https://github.com/dimforge/parry/pull/268 Intersecting the rabbit with itself at position 2;0;0 results in a lot of holes. - code reproduction in https://github.com/dimforge/parry/pull/271 screenshot: 
- More context in https://github.com/dimforge/rapier/pull/716 - discussion: https://github.com/dimforge/rapier/pull/716/files/aba935617e2d6b139803ede598c49a959a1614f0#r1747086836
- An example for decomposition to investigate on https://github.com/dimforge/rapier/discussions/731 - Based on #259 - might serve to investigate https://github.com/dimforge/rapier/issues/223 :warning: not working currently
In some cases where the polygon loops on itself, the winding number was incorrect.
I ran into ``` A compound shape must contain at least one shape. ``` I'm generating lots of convex decomposition colliders like this: ```rust let contours = self.contours_with_holes_flat(bitmap_to_pixels, simplify_epsilon); if...
| example | PR|Note |--------|--------|--------| | points in poly | https://github.com/dimforge/parry/pull/210 |no 3d version| | raycast | https://github.com/dimforge/parry/pull/234 || | intersection plane | https://github.com/dimforge/parry/pull/250 || | projection | https://github.com/dimforge/parry/pull/234 ||...
Due to float imprecisions, we can't be certain a call to `bounding1.merged(bounding2)` will results in a bounding containing both shapes (or contains might return `false` for 1 or both shapes)....
Didn't want to hijack #246 since my conditions are different, but I am running into my own crash for the epa3.rs `*self.heap.peek()` statement. I can reliably encounter it in the...
Implement pseudo normals for polyline similar to how it's done in 3D for trimesh and heightmapfield
For trimesh and heightmapfield there is currently the TrianglePseudoTriangles. There should be similar for polyline, EdgePseudoTriangles or SegmentPseudoTriangles that will fix ghost collisions/bumps.
[`polyhedral_mass_properties`](https://docs.rs/polyhedral_mass_properties) is a library that I just published to calculate mass properties (mass, center of mass and inertia matrix/tensor) of triangle meshes. It is at least 2x faster than [`MassProperties::from_trimesh`](https://docs.rs/parry3d-f64/latest/parry3d_f64/mass_properties/struct.MassProperties.html#method.from_trimesh)....