Implement basic physics collision detection