player now avoids walls