import { _decorator, Component, EPhysicsDrawFlags, Node, PhysicsSystem } from 'cc';

const {ccclass, property} = _decorator;

@ccclass('test')
export class test extends Component {
    start() {
        PhysicsSystem.instance.enable = true;
        PhysicsSystem.instance.debugDrawFlags
            = EPhysicsDrawFlags.AABB
            | EPhysicsDrawFlags.CONSTRAINT
            | EPhysicsDrawFlags.WIRE_FRAME;
    }

    update(deltaTime: number) {

    }
}

