Fix a lot of bugs

bug fix: player orientation wasn't stored corectly
->bug fix in the character controler code
bug fix: npc couldn't move because they collided with their own hitbox. Solved in a somewhat hacky way.