摘要: http://blog.csdn.net/cen616899547/article/details/38336185 在做rpg类游戏的过程中,经常遇到要判断周围怪物相对自身的方位 1.判断目标在自己的前后方位可以使用下面的方法: Vector3.Dot(transform.forward, tar 阅读全文
posted @ 2016-08-02 17:00 alps_01 阅读(1421) 评论(0) 推荐(0) 编辑