feat: implement collision skin

This commit is contained in:
Sébastien Crozet
2024-04-27 11:36:35 +02:00
committed by Sébastien Crozet
parent c079452a47
commit 664645159d
5 changed files with 66 additions and 23 deletions

View File

@@ -116,6 +116,9 @@ pub struct ContactPair {
/// The set of contact manifolds between the two colliders.
///
/// All contact manifold contain themselves contact points between the colliders.
/// Note that contact points in the contact manifold do not take into account the
/// [`Collider::collision_skin`] which only affects the constraint solver and the
/// [`SolverContact`].
pub manifolds: Vec<ContactManifold>,
/// Is there any active contact in this contact pair?
pub has_any_active_contact: bool,