fixed player direction changes so you cannot turn directly into an obstacle.. if you are parallel to a wall or obstacle.. you cannot turn into it..
code to auto-handle ceiling and floor on