postSolve method
Called after collision resolution.
Usually defined to gather collision impulse results. If one of the colliding objects is a sensor, this will not be called.
Implementation
void postSolve(Object other, Contact contact, ContactImpulse impulse) {
onPostSolve?.call(other, contact, impulse);
}