preparations for player's collision detection