Files
cocos4/cocos/physics-2d/framework/components
Ling Zhan f8f121c732 [fix] refactor physics2d contact listener (#14026)
* [opt] physics2d box2d contactListner optimization

* back. todo: pre,post,_begin,_end, physicsContact class

* new contact listener works now.

* code refactor

* tweaks

* tweaks

* rename finalizeCollision to finalizeContactEvent

* align physics 2d events with physics 3d.

* tweaks

* fix builtin2d

* tweaks box2d

* Revert "tweaks box2d"

This reverts commit d5d0cbd36e6669844e363513c5861904e37153a5.

Revert "fix builtin2d"

This reverts commit 143b4b2abcc90f585f019a6b027c9053acb1fc73.

Revert "tweaks"

This reverts commit b9c449ec85d2ed408ebeceebb6efd10ec1f117a5.

Revert "align physics 2d events with physics 3d."

This reverts commit c12f102c6f7777266e3986bdf72a90656fa2b453.

* tweaks

* compatibility

* tweaks
2023-01-12 22:01:01 +08:00
..