Press 1 to hide all variables Press 0 to show By the title you could guess that something went wrong with the coding. Play around with the X and Y rotation and you will see the obvious bug.