我在做鼠标拖动物体,发现camera的zoomRatio修改之后,touch.getLocation()是正确的,touch.getDelta()会偏移,导致物体的位置不正确
creator2.0.2
这是没有问题的 我直接用touch.getLocation()就行了
我在做鼠标拖动物体,发现camera的zoomRatio修改之后,touch.getLocation()是正确的,touch.getDelta()会偏移,导致物体的位置不正确
这是没有问题的 我直接用touch.getLocation()就行了