Virtools學習(七)—2D Picking

這個功能比較重要,遊戲中的託拽經常要用到,例如,棋類遊戲中讓棋子走到鼠標指定的位置,還有做模擬城市的遊戲中,玩家會將自己選擇的建築物或者植物託拽到某個特定的位置。 In: triggers the process. True: is activated when the ray intersects an object or a sprite. False: is activated when t
相關文章
相關標籤/搜索