Pre collision event?(or something similar)

I want to trigger an event when two meshes are going to collide, and decide whether or not they should collide or not (based on some stuff in my game)