now camera is rotating when player reach the edge of the tower.