Virtools学习(七)—2D Picking

这个功能比较重要,游戏中的托拽经常要用到,例如,棋类游戏中让棋子走到鼠标指定的位置,还有做模拟城市的游戏中,玩家会将自己选择的建筑物或者植物托拽到某个特定的位置。 In: triggers the process. True: is activated when the ray intersects an object or a sprite. False: is activated when t
相关文章
相关标签/搜索