//export class PhysicsCollider{
export class PhysicsCollider extends Collider{
==================检查代码=======================
this.node.getComponent(cc.PhysicsBoxCollider);
==================检查代码end====================
/*export enum DrawBits {
e_aabbBit = 0,
e_pairBit = 0,
e_centerOfMassBit = 0,
e_jointBit = 0,
e_shapeBit = 0,
}*/
//static DrawBits:DrawBits;
static DrawBits = {
e_aabbBit= 0,
e_pairBit = 0,
e_centerOfMassBit = 0,
e_jointBit = 0,
e_shapeBit = 0
};
==================检查代码=======================
cc.director.getPhysicsManager().debugDrawFlags = cc.PhysicsManager.DrawBits.e_aabbBit |
cc.PhysicsManager.DrawBits.e_jointBit |
cc.PhysicsManager.DrawBits.e_shapeBit;
==================检查代码end====================