Is there a way to check if two given layers are currently set to collide or not in the physics settings. I have a vast array of layers set to ignore collisions with certain others and it would great if I could check in code.
So basically:
IF (objectA.layer can collide with objectB.layer)
DO THIS