Commit Graph

11 Commits

Author SHA1 Message Date
Ling Zhan 32d1f300a7 [fix] physics-2d contact disable not working #15149 (#15158)
* [fix] physics-2d contact disable not working #15149

* tweaks and add docs
2023-05-24 15:58:36 +08:00
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
Ling Zhan 884dbad0d7 [opt] improve api doc for Physics2D (#13894)
* [opt] improve api doc for Physics2D

* tweaks
2022-12-28 15:07:26 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
minggo 7294de16f6 Adjust core import (#13230)
* fix import style of core module
* fix decorator usage
2022-11-07 15:01:31 +08:00
Santy-Wang 23de9188ba V3.5 docs (#10898)
* adjust api docs and delete useless annotation

* delete useless annotation
2022-04-27 15:22:22 +08:00
Santy-Wang ab82e1b42d remove hidden (#10414)
* remove hidden

* fix typo

* fix unit-test

* turn on auto fix
2022-03-22 15:11:16 +08:00
ChiaNing 90d94fead6 api module change (#8272)
(cherry picked from commit 314ede133cd6b1873b6f71876f16947733de2c46)
2021-02-25 17:31:08 +08:00
Leslie Leigh (李的序) 9bd9baac12 Eslint autofix all (#8108)
* Eslint autofix all

* Manual fix
2021-01-09 11:41:10 +08:00
yinkaile 3df1490359 refine physics 2d api docs (#7908)
* refine physics 2d api docs

* refine code

* refine docs

* refine docs

* refine docs
2020-12-07 11:34:21 +08:00
yinkaile 96a735b2ff 3d v1.2 physics 2d (#7357)
* Squashed commit of the following:

add physics 2d

* @@ -205,9 +205,6 @@ export class b2PhysicsWorld implements IPhysicsWorld {

revert box2d version

* add mask param to raycast

* refine code
2020-10-12 11:49:49 +08:00