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

Non-convex colliders should use contact manifolds to improve stability #93

Closed
Jondolf opened this issue Jul 20, 2023 · 0 comments · Fixed by #156
Closed

Non-convex colliders should use contact manifolds to improve stability #93

Jondolf opened this issue Jul 20, 2023 · 0 comments · Fixed by #156
Labels
A-Collision Relates to the broad phase, narrow phase, colliders, or other collision functionality

Comments

@Jondolf
Copy link
Owner

Jondolf commented Jul 20, 2023

After #90, convex-convex collisions use contact manifolds, i.e. many contact points instead of one. This mitigates pretty much all drifting and explosive behaviour.

However, using the same approach for collisions against non-convex colliders (like trimeshes) caused bodies with convex colliders (like cubes) to sink into the non-convex colliders, sometimes even going straight through. For this reason, they still use the old single contact point method for now.

Fixing this would be really important though, as it would resolve essentially all remaining contact instability that I'm aware of, so let me know if you have any ideas about how to implement it correctly. I'll also look into it more and try to find a fix.

@Jondolf Jondolf added the A-Collision Relates to the broad phase, narrow phase, colliders, or other collision functionality label Jul 20, 2023
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant