Collision detection working.