Commit Graph

197 Commits

Author SHA1 Message Date
jiaxin.lai fadf3d9b00 support dynamic select physics backend (#8048)
* support dynamic select physics backend

* skip physics ray group

* fix eslint

* lint
2020-12-30 15:47:06 +08:00
Leslie Leigh (李的序) 4d2b741a4a Bump typescript@4.1.3 (#8028) 2020-12-26 14:07:32 +08:00
jiaxin.lai 0dc393b884 3d physx (#8005)
* support physx physics engine

* tweaks

* stash contact event

* update @cocos/physx

* basic event impl

* stash

* support BYTEDANCE

* stash

* stash

* fix inertia

* PhysX mesh collider

* PhysX static trimesh geometry

* PhysX terrain collider

* add kinematic

* bytedance plane collider

* bytedance v2

* support trigger

* bytedance triangle mesh support

* raycast filter

* raycast support

* stash all

* stash

* center of mass

* stash

* stash fixed joint

* stash

* stash

* physx hinge joint

* physx distance joint

* tweaks

* tweaks

* bytedance raycast

* tweaks

* update mass

* tweaks

* tweaks

* joint

* stash

* bytedance adapters

* tweaks

* stash

* apply force/impulse

* add updateEventListener

* Fixed some loose usage

* add getShapeFlags/getShapeMaterials

* tweaks

* optimize bytedance adapter

* fix isStaticsOrKinematic

* support cylinder & cone

* contact normal

* update @cocos/physx to 1.0.0-beta.5

* rigid body tweaks

* add syncAfterEvents

* hinge constraint

* filter static - static

* ammo refactor

* cannon refactor

* ammo p2p constraint refactor

* update @cocos/ammo to 1.0.8

* lint ammo

* more lint

* docs

* tweaks

* avoid direct use globalThis
2020-12-24 13:45:03 +08:00
Leslie Leigh (李的序) ad1c77548b Bump @cocos/build-engine@4.1.0 (#7971) 2020-12-16 14:35:05 +08:00
Leslie Leigh (李的序) e00a0da0ac Optimize .d.ts generation; prepare for sub modules (#7954)
* Optimize .d.ts generation; prepare for sub modules

* Fix no emit
2020-12-12 16:50:35 +08:00
jiaxin.lai d26aaea1fd optimize cannon physics (#7911)
* cannon raycast skip back faces by default

* update @cocos/cannon to 1.2.0

* tweaks
2020-12-12 14:33:12 +08:00
Leslie Leigh (李的序) b8a56aba6a Override dynamic-serialize in production build (#7844) 2020-12-07 14:50:13 +08:00
Leslie Leigh (李的序) 16cc7569eb Introduce the EXPORT_TO_GLOBAL (#7820)
* Introduce the `EXPORT_TO_GLOBAL`

* Bump version
2020-11-19 15:54:33 +08:00
Leslie Leigh (李的序) 3c77bbb385 Add platforms LINKSURE, QTT (#7813) 2020-11-18 20:21:05 +08:00
Leslie Leigh (李的序) 8d011894f6 Fix dynamic deps problem(wechat plugin) (#7772) 2020-11-12 13:43:57 +08:00
Leslie Leigh (李的序) be794583bb Optimize build-engine to not generate source map for NPM scripts (#7760)
* Optimize again


@cocos/build-engine@4.0.0-beta.1

* Update lock file

* Fix jail
2020-11-11 19:12:05 +08:00
Leslie Leigh (李的序) a3e1487375 Remove comments even in debug build; Suppress babel compact warnings. (#7755)
@cocos/build-engine@4.0.0-beta.0
2020-11-11 15:22:53 +08:00
Yun Hsiao Wu 32598c25cb switch to eslint (#7727)
* switch to eslint

* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
Leslie Leigh (李的序) 5a50ef9e2c Fixture bump tfig@2.10.10 (#7675) 2020-11-02 18:57:40 +08:00
pandamicro b925dc7f62 Dynamic initialize shaders (#7647)
Co-authored-by: SB <leslieleigh@outlook.com>
2020-10-31 11:45:42 +08:00
pandamicro b67090be4f Revert "Dynamic initialize shaders (#7642)" (#7646)
This reverts commit e3577cf510.
2020-10-30 20:02:16 +08:00
Leslie Leigh (李的序) e3577cf510 Dynamic initialize shaders (#7642) 2020-10-30 19:24:33 +08:00
Jare Guo 64e435badd Merge remote-tracking branch 'gitlab/3d'
# Conflicts:
#	package-lock.json
2020-10-29 15:36:36 +08:00
Leslie Leigh (李的序) d5e35a1823 Bump gift^2.0.9; Bump ts^4.0.5 (#7628) 2020-10-29 15:26:09 +08:00
Jare Guo df5fc6c9a1 fix merge error 2020-10-28 23:51:55 +08:00
Jare Guo b7c56393d5 Merge remote-tracking branch 'fireball/3d' into 3d-v1.2
# Conflicts:
#	EngineErrorMap.md
#	cocos/core/assets/image-asset.ts
#	cocos/core/data/class.ts
#	cocos/core/data/deserialize.ts
#	package.json
2020-10-28 18:37:39 +08:00
Leslie Leigh (李的序) 5c3e8883b5 @cocos/build-engine@4.0.0-jsb.alpha.12: Fix wrong SUPPORT_JIT constant (#7616) 2020-10-28 17:29:19 +08:00
Leslie Leigh (李的序) f99240f664 @cocos/build-engine: add option to remove deprecated features (#7603) 2020-10-27 18:28:58 +08:00
Leslie Leigh (李的序) 9b4afb2983 @cocos/build-engine now accepts the loose option (#7601) 2020-10-27 11:10:30 +08:00
Leslie Leigh (李的序) 4262bf097a Bump @cocos/build-engine to 4.0.0-jsb.alpha.9 (#7594) 2020-10-27 09:13:26 +08:00
pandamicro 7591f63b7f Update engine version (#7583)
* Update engine version to 3.0

* Update authors
2020-10-22 15:38:30 +08:00
Jare Guo 54021a9bb0 Update PR 2020-10-19 12:02:48 +08:00
Leslie Leigh (李的序) 82f66b4e54 Add ccconfig.json for module overrides(alpha) (#7508) 2020-10-13 09:54:28 +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
pandamicro 7481303268 Merge branch '3d-v1.2' into 3d
# Conflicts:
#	cocos/core/3d/framework/camera-component.ts
#	cocos/core/assets/mesh.ts
#	cocos/core/components/component-event-handler.ts
#	cocos/core/game.ts
#	cocos/core/gfx/webgl/webgl-commands.ts
#	cocos/core/gfx/webgl2/webgl2-commands.ts
#	cocos/core/pipeline/define.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/instanced-buffer.ts
#	cocos/core/pipeline/render-pipeline.ts
#	cocos/core/pipeline/shadow/shadow-flow.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/renderer/scene/shadows.ts
#	cocos/core/renderer/scene/skybox.ts
#	cocos/core/splash-screen.ts
#	cocos/ui/components/button.ts
#	cocos/ui/components/editbox/edit-box-impl.ts
#	editor/assets/primitives.fbx
#	package-lock.json
#	package.json
2020-09-30 18:01:33 +08:00
Jare Guo e050e668bb move babel-plugin-const-enum to babel-preset-cc 2020-09-29 16:25:39 +08:00
Jare Guo 4e08e87e4d fix ci 2020-09-28 19:00:04 +08:00
ChiaNing 15a1806d18 API doc format change (#7456) 2020-09-28 16:52:52 +08:00
Leslie Leigh (李的序) abf46aaed3 Bump rollup@2.26.6(fixed); bump @cocos/build-engine@3.0.8 (#7382) 2020-09-15 18:11:37 +08:00
Leslie Leigh (李的序) c47a88b18c Bump rollup; @cocos/build-engine 3.0.6 (#7379) 2020-09-15 15:56:01 +08:00
Leslie Leigh (李的序) ef6b9c63b4 Bump gift@2.0.8 (#7364) 2020-09-11 12:13:55 +08:00
minggo 6e71962fb9 merge v1.2 2020-09-10 11:41:20 +08:00
Leslie Leigh (李的序) 3422c13b61 Bump gift@2.0.7 (#7331) 2020-09-08 14:55:37 +08:00
minggo e4bd687cc1 update build engine to ignore wedding out engine codes (#7309) 2020-09-04 16:10:42 +08:00
minggo cfdb88be41 update build engine version to 3.1.0-alpha.2 (#7288)
* update build engine version to 3.1.0-alpha.2

* update build engine verson
2020-09-03 12:39:37 +08:00
pandamicro 1d2a82d957 Merge branch '3d-v1.2' into merge1.2
# Conflicts:
#	cocos/core/3d/framework/mesh-renderer.ts
#	cocos/core/components/ui-base/ui-renderable.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/forward/scene-culling.ts
#	cocos/core/pipeline/render-additive-light-queue.ts
#	cocos/core/pipeline/render-stage.ts
#	cocos/core/pipeline/shadow/shadow-flow.ts
#	cocos/core/renderer/core/memory-pools.ts
#	cocos/core/renderer/scene/camera.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/renderer/scene/render-scene.ts
#	cocos/core/root.ts
#	cocos/particle/billboard.ts
#	cocos/terrain/terrain.ts
#	cocos/ui/components/button.ts
#	package-lock.json
#	package.json
#	tests/general/sealed-global-variables.json
2020-09-02 18:39:09 +08:00
Leslie Leigh (李的序) bc5b531191 Add decorator @editable @serializable (#7178) 2020-09-02 11:44:12 +08:00
minggo 4f21401492 import pipeline instead (#7218)
* import pipeline instead

* simplify codes

* add jsb index.ts

* simplify codes

* fix circular dependency

* change build engine version

* change build-engine version

* jsb -> nr
2020-08-31 09:56:40 +08:00
Leslie Leigh (李的序) 0c5c52e3be Support tsconfig.compilerOptions.paths (#7234) 2020-08-27 16:31:57 +08:00
minggo 035a632abb invoke Model.initialize() before being resued (#7201) 2020-08-24 11:43:43 +08:00
pandamicro 2618dc6dbe Bump tfig@2.0.3 (#7198) (#7199)
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>
2020-08-21 14:19:06 +08:00
Leslie Leigh (李的序) f4e16d0785 Bump tfig@2.0.3 (#7198) 2020-08-21 14:15:11 +08:00
Leslie Leigh (李的序) f289fa7a43 Bump tfig^2.0.2 (#7189) 2020-08-20 21:38:04 +08:00
Leslie Leigh (李的序) 1cdacdee80 @cocos/build-engine 3.0.3(1.2 + ByteDance support) (#7129) 2020-08-13 15:56:14 +08:00
Leslie Leigh (李的序) d0c276c941 @cocos/build-engine@3.0.2(bug fix update) (#7087)
* @cocos/build-engine@3.0.2(bug fix update)

* Update
2020-08-07 10:47:42 +08:00