Collision detection semi working