找回密码
 立即注册
人物的称号与血条的绘制方法很简单,可是我们需求管理的问题是如安在3DS界中寻觅适合的坐标。由于3DS界中的人物是会移动的,它是在3DS界中移动,并不是在2D平面中移动,可是我们需求将3D的人物坐标换算成2D平面中的坐标,继而找到人物头顶在屏幕中的2D坐标最终使用GUI将称号与血条绘制出来。

(The drawing method of character titles and blood bars is very simple, but the problem of our demand management is to find suitable coordinates in the 3D world. Since the character in the 3D world can move, it moves in the 3D world, not in the 2D plane, but we need to convert the 3D character coordinates into the coordinates in the 2D plane, and then find the 2D coordinates of the head of the character in the screen, and finally use the GUI to draw the title and blood bar.)

[下载]14353675549.rar




上一篇:Unity3D研究院之Android NDK编译(二十八)源码
下一篇:Unity3D研究院之人物头顶名称与血条更新与绘制(二十六)源码