physics: interobject collision implemented

Shame I didn't do this before, it's just a few lines of code.