pub type NarrowphaseFn<S> = fn(a: &RigidBody<S>, b: &RigidBody<S>, geometry: &GeometryStore, space: &S) -> Option<Contact<S>>;
Always called with a.kind() matching the key’s first component.
a.kind()