
看文档 看论坛 都没有这方面的介绍 有点懵逼…
写碰撞的时候你应该这么写的吧:
onCollisionEnter: function (other, self) {
if(other.tag == xxx && self.tag == xxx){
这个时候
this.node.getPosition
other.node.getPosition
这样碰撞的两个点的坐标就都求出来了
}
}

看文档 看论坛 都没有这方面的介绍 有点懵逼…
写碰撞的时候你应该这么写的吧:
onCollisionEnter: function (other, self) {
if(other.tag == xxx && self.tag == xxx){
这个时候
this.node.getPosition
other.node.getPosition
这样碰撞的两个点的坐标就都求出来了
}
}