unity Transform.TransformPoint

正如unity api文档所说:

Transforms position from local space to world space.

即Transform.TransformPoint是将局部坐标点转化到世界空间(而不是父空间)。

至于如何 高效 地将局部空间坐标转到父空间,还没找到。

在论坛发了个帖子:http://answers.unity3d.com/questions/936166/how-to-transform-from-local-space-to-parent-space.html

你可能感兴趣的:(transform)