rotation broken

broke rotations by trying to implement checkrotationcollision()