modified Player's collision method