Basic collision detection, still buggy