Skip to content
New issue

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

Add find_deepest_contact for Contacts and ContactManifold #556

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

Jondolf
Copy link
Owner

@Jondolf Jondolf commented Nov 11, 2024

Objective

Sometimes when getting information about collisions, you might not want all contacts, but rather the one with the largest penetration.

Solution

Add find_deepest_contact helpers for Contacts and ContactManifold.

@Jondolf Jondolf added A-Collision Relates to the broad phase, narrow phase, colliders, or other collision functionality C-Usability A quality-of-life improvement that makes Avian easier to use labels Nov 11, 2024
@Jondolf Jondolf merged commit d170e61 into main Nov 12, 2024
4 checks passed
@Jondolf Jondolf deleted the deepest-contact-helpers branch November 12, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Collision Relates to the broad phase, narrow phase, colliders, or other collision functionality C-Usability A quality-of-life improvement that makes Avian easier to use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant