Basic collision detection and response.