cc.Intersection.pointInPolygon问题

为什么我开启碰撞检测cc.director.getCollisionManager().enabled = true;,,自己代码里的cc.Intersection.pointInPolygon()判断就失效了,一关闭碰撞检测就好了。什么情况。。大概测试了下,坐标有些偏移,找不出原因

pointInPolygon 第一个参数 是一个点,,第二个参数是一个多边形

回答一下呗