CREATOR 3.0中测试触摸事件 ,
var w_pos = event.getLocation();//获取到的是VEC2
let nodePs = rootNode.getComponent(UITransform).convertToNodeSpaceAR(w_pos) //却是VEC3
console.log(w_pos) //打印出来是NAN,应该是VEC2与VEC3不匹配导致 的NAN, 这个该如何作转换昵?
this.playerNode.setPosition(nodePs)
感觉用了3.0各种不适应。。。。。