标签:style blog http io ar color os sp for
Transform到Transform的空间变换很容易,依赖层级模块就可以。今天遇到Vector3点到某个Transform的本地空间变换,试了一下解决了
var point = new Vector3(0, 5, 0); var convertPoint = transform.TransformDirection(point); Debug.Log("Primite Space:" + point + "Transform self space: " + (transform.position + convertPoint));
标签:style blog http io ar color os sp for
原文地址:http://www.cnblogs.com/hont/p/4131696.html