Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 89143

求教怎么获取触点X的相对坐标

$
0
0

@329973692 写道:

getLocationX获得的坐标是绝对坐标,水平位和垂直位不好判断。
怎么在touch_move 事件中获取触点相对于触摸节点的坐标呢?

帖子: 5

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 89143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>