Math.atan(num)); 其中num就是你那个“tan角A ”的值,Math.atan(num)); 是它的反正切函数值,是介于负二分之 pi 和正二分之 pi 之间的一个数字哟让my_MC旋转180度my_MC._rotation= 180