Changed the way the player is moved.