dimforge / parry

2D and 3D collision-detection library for Rust.
https://parry.rs
Apache License 2.0
565 stars 100 forks source link

Respect stop_on_penetration flag in ball-ball shape casting #206

Closed alexpardes closed 3 months ago

alexpardes commented 3 months ago

This PR fixes a bug where cast_shapes_ball_ball ignored the stop_on_penetration flag and always returned a hit for separating intersecting balls.

sebcrozet commented 3 months ago

Thanks!