transform.rotation * new Vector3 (1, 0, 0)




总结:

transform.rotation * new Vector3 (1, 0, 0) : 该脚本对象局部x轴所代表的全局方向向量

transform.rotation * new Vector3 (0, 1, 0) : 该脚本对象局部y轴所代表的全局方向向量

transform.rotation * new Vector3 (0, 0, 1) : 该脚本对象局部z轴所代表的全局方向向量



FR:海涛高软(hunk Xu)

猜你喜欢

转载自blog.csdn.net/qq_15267341/article/details/86484012
0