Made it possible for the player and enemies to walk up and down slopes