preparing player to run into walls