still need work with collisions

need to place the player at the edge of a tile. instead of old position.
Maybe using the normal to the tile and the player?