a = cos(lineAngle - moveAngle) x = cos(lineAngle) * a y = sin(lineAngle) * a