STEP 6 - Collision detection