Detect when the player enters/leaves checkpoint