public override void PairRemoved(object proxyUserData1, object proxyUserData2, object pairUserData)
{
//B2_NOT_USED(proxyUserData1);
//B2_NOT_USED(proxyUserData2);
if (pairUserData == null)
{
return;
}
Contact c = pairUserData as Contact;
if (c == _nullContact)
{
return;
}
// An attached body is being destroyed, we must destroy this contact
// immediately to avoid orphaned shape pointers.
Destroy(c);
}