[fix] builtin-2d-physics removeShape() slow #12843 #13163
https://github.com/cocos/cocos-engine/pull/13163/files
这个代码有问题,新添加的参数 shape-2d.ts里的 _contacts,在removeShape的时候,没有重新初始化,在重复使用的时候,这个数组会一直增长,
https://github.com/cocos/cocos-engine/pull/13163/files
这个代码有问题,新添加的参数 shape-2d.ts里的 _contacts,在removeShape的时候,没有重新初始化,在重复使用的时候,这个数组会一直增长,
这个PR确实有这个问题,我们之前已经废弃了这个PR,使用了更简单的修改: