rotating issue is because the character still moves when it hits the play areas barrier, was going to implement a way to stop players from constantly moving into the barrier. For me it only done this when hitting the bottom barrier, corners and sometimes top.