Skip to content

fix(gjk): scale shape-cast convergence tolerance - #457

Open
dajiaohuang wants to merge 1 commit into
dimforge:masterfrom
dajiaohuang:repostew/gjk-cast-touching-convergence
Open

dajiaohuang wants to merge 1 commit into
dimforge:masterfrom
dajiaohuang:repostew/gjk-cast-touching-convergence

Conversation

@dajiaohuang

Copy link
Copy Markdown

Fixes #452. The GJK shape-cast convergence check now scales its absolute tolerance by the magnitude of the active support coordinates, accounting for rounding at large coordinate scales. Add the reported synthetic f64 cuboid case at the touching boundary and its 1e-9 offsets; all return a hit.\n\nValidation: the regression test passed; cargo check passed for parry2d, parry2d-f64, parry3d, and parry3d-f64; cargo fmt --all -- --check and git diff --check passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cast_shapes can return None when a cast starts touching and moves inward (absolute tolerance in minkowski_ray_cast)

1 participant