Commit Graph

15 Commits

Author SHA1 Message Date
pandamicro 1380e46c34 Unittest (#4973)
* unit test for ts

* Fix ts-jest warnings

* Remove puppeteer for now

* fix physics define and jest config for windows

* Replace Node ref with INode ref

* Fix ci issue

* Fix

* tweak

* tweak

* Fix vscode launcher

* now physics framework export all physics component (#28)

* tweaks
2019-07-25 17:15:20 +08:00
Leslie Leigh c17f28201d module division 2 (#4907)
* module division

* update

* update

* small fix

* allow co-existing of physics modules

* update

* upgrade rollup-plugin-node-resolve

* refine build engine cli

* fix

* upgrade rollup plugin commonjs

* fix

* mark physics module as required
2019-07-19 16:12:45 +08:00
Weiliang Wang db12f03059 Revert "module division (#4897)" (#4906)
This reverts commit 78247a0d2f.
2019-07-18 10:45:44 +08:00
Leslie Leigh 78247a0d2f module division (#4897)
* module division

* add animation component

* fetch changes

* dev

* typo
2019-07-18 09:27:02 +08:00
ChiaNing 9b3858a3e7 API-Doc format modify (#4761) 2019-07-01 09:33:24 +08:00
jiaxin.lai dcbd593001 add physics macro to global in publish, set cannon to default (#4660) 2019-06-20 16:19:59 +08:00
jiaxin.lai 373ac1ca09 spilt cannon-impl to folder of cannon (#4631) 2019-06-17 15:44:08 +08:00
jiaxin.lai 34c8e6650d Physics builtin (#4547)
* Rename built-in-*** to builtin-***

* Rename r to radius and c to center;

* Add method : transkateAndRotate & setScale to obb & sphere;
Delete unneed class box in box.ts file

* Fix builtin physics Bug of #751 & Modify the physics relative component

* Add macro condition, some method is not declare in builtin

* Rename CC_PHYISCS_*** to CC_PHYSICS_***;

* rename BuiltIn*** to Builtin***

* Typing intersect
2019-06-05 10:27:09 +08:00
jiaxin.lai c98f25d53e remove the collider body from world When the collider has shape only (#4470)
* remove the collider body from world When collider has shape only;
set body group default value to 1;

* Add declare for phyiscs macro
2019-05-22 14:07:57 +08:00
jiaxin.lai 87e573d956 Implementing the physical selector function through conditional branching (#4352) 2019-04-30 15:05:07 +08:00
jiaxin.lai d2eb6eaca4 转换物理引擎为 built-in (#4324) 2019-04-26 19:14:15 +08:00
jiaxin.lai a136c949ad 增加 built-in 物理模块 (#4320) 2019-04-26 18:38:26 +08:00
Leslie Leigh a2416ba312 normalize the RaycastResult; allow rigidbody to sleep to prevent shake (#4028) 2019-03-13 18:21:15 +08:00
Leslie Leigh dcfb485d69 fix ammo-impl bugs (#3997) 2019-03-11 17:32:16 +08:00
Leslie Leigh b7869b595d restructure physics (#3985) 2019-03-08 11:30:14 +08:00