关于physicsManager里的方法testPoint

2youyou2
Tue, 19 Sep 2017 07:06:44 +0000

是做了这个判断，你可以先在这里修改成你需要的判断

https://github.com/cocos-creator/cocos2d-x-lite/blob/develop/cocos/editor-support/creator/physics/CCPhysicsAABBQueryCallback.cpp#L32

阅读整个主题