Implementing simple collision detection system. WIP.