码迷,mamicode.com
首页 > 编程语言 > 详细

unity Transform.TransformPoint

时间:2015-03-30 22:59:35      阅读:299      评论:0      收藏:0      [点我收藏+]

标签:

正如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

unity Transform.TransformPoint

标签:

原文地址:http://www.cnblogs.com/wantnon/p/4379361.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!