SB
f0882d6272
Optimize some documents
2020-08-06 17:23:06 +08:00
Knox
73add8a51b
sync 2d color toHEX api ( #7062 )
2020-08-03 19:17:26 +08:00
jiaxin.lai
65b0478c69
v1.2 new physics features ( #7037 )
...
* 3d v1.1.1-exp physics expriment (#6787 )
* activate when not awake (#6781 )
* activate when not awake
* cannon too
* off event listener when onDestroy
* add clearVelocity & clearForces
* add CC_CONFIG to ammo\cannon
* add convex mesh & reuse mesh
* cache enable false by default
* terrain collider
* cone collider
* fix scale of ammo box & sphere
* simple collider
* add worldBounds & boundingSphere to collider
* add clear*** to rigid body
* enhance physics material
* enhance event
* plane collider
* stash
* tweaks
* update @cocos/ammo to v1.0.7-beta.1
* typing
* enchance update shape dynamic
* absolute scale cannon-box
* expose allowsleep
* fix warning of generate declaration
* remove physics_builtin
* DO NOT MERGE
* Better reuse
* Correct construct and deconstruct
* avoid ammo memory leaks
* minor refactor contact data
* fix cannon terrain tileSize
* stash
* optimize auto wakeup
* [Ammo] fix update by re add
* 400~
* overwrite ArrayCollisionMatrix.prototype.reset
* Export enum by namespace
* stash
* fix remove child shape of btCompound
* fix event with CCD
* dynamic instantiate
* STASH
* add group to rigid body
* update attachedRigidBody of collider in editor
* stash physics config
* tweaks of ammo config
* stash
* stash
* collision matrix
* stash
* rename deltaTime to fixedTimeStep
* group mask collider
* allow get mask
* set default group to Layers.Enum.DEFAULT
* add group change fallback
* cannon collision matrix
* fix
* update @cocos/ammo to 1.0.7-beta.2
* more prop
* fix
* disable on 1.1.1-exp
* tweaks
* fix circular dependency
* tweaks
* rename simple to simplex
* rename collider -> colliders
* stash
* ammo p2p
* hinge constraint
* adapt cannon p2p pivotB
* ammo p2p setPivotB
* constraint
* tweaks
* remove macro of physics
* refactor physics selector
* import ammo from ammo-instantiated
* update @cocos/ammo
* update @cocos/cannon
2020-08-03 11:00:07 +08:00
pandamicro
9fd32ee805
Merge branch '3d-v1.1.1' into 3d
...
# Conflicts:
# cocos/core/3d/builtin/effects.ts
# cocos/core/director.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/render-pipeline.ts
# cocos/core/pipeline/render-queue.ts
# cocos/core/pipeline/render-view.ts
# cocos/core/splash-screen-webgl.ts
2020-07-06 15:58:46 +08:00
ChiaNing
372a0b5733
mat4 translate bug fix ( #6932 )
2020-06-28 10:39:39 +08:00
pandamicro
b2830f5271
Merge remote-tracking branch 'origin/3d-v1.1.1' into 3d
...
# Conflicts:
# cocos/core/3d/builtin/effects.ts
# cocos/core/3d/framework/light-component.ts
# cocos/core/3d/framework/model-component.ts
# cocos/core/animation/animation-state.ts
# cocos/core/assets/image-asset.ts
# cocos/core/data/object.ts
# cocos/core/event/callbacks-invoker.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/platform/event-manager/events.ts
# cocos/core/primitive/primitive.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/render-scene.ts
# cocos/core/root.ts
# cocos/core/scene-graph/node-event-processor.ts
# cocos/core/splash-screen-webgl.ts
# cocos/particle/index.ts
# cocos/terrain/terrain.ts
# exports/base.ts
2020-06-17 14:47:36 +08:00
pandamicro
1349990fb8
Fix Color.set API ( #6865 )
...
* AudioClip & AudioPlayer playOneShot volume default value
* revert changes
* revert changes
* Color 类型定义错误
* Fix ci
Co-authored-by: k8w <me@k8w.io >
2020-06-12 12:18:14 +08:00
Yun Hsiao Wu
69db70a910
Merge remote-tracking branch 'origin/3d' into 3d
2020-06-03 16:22:00 +08:00
SijieWang
a9f3969245
Merge remote-tracking branch 'cocos-for-editor/3d-v1.1.1' into 3d
...
# Conflicts:
# cocos/audio/assets/clip.ts
# cocos/core/3d/builtin/effects.ts
# cocos/core/3d/framework/batched-skinning-model-component.ts
# cocos/core/3d/framework/editor-camera-component.ts
# cocos/core/3d/framework/index.ts
# cocos/core/3d/framework/model-component.ts
# cocos/core/animation/animation-clip.ts
# cocos/core/animation/animation-manager.ts
# cocos/core/animation/animation-state.ts
# cocos/core/animation/skeletal-animation-component.ts
# cocos/core/animation/skeletal-animation-state.ts
# cocos/core/assets/mesh.ts
# cocos/core/assets/simple-texture.ts
# cocos/core/assets/sprite-frame.ts
# cocos/core/assets/texture-base.ts
# cocos/core/data/class-decorator.ts
# cocos/core/data/instantiate.ts
# cocos/core/event/event-target.ts
# cocos/core/game.ts
# cocos/core/load-pipeline/CCLoader.ts
# cocos/core/load-pipeline/plist-parser.ts
# cocos/core/load-pipeline/unpackers.ts
# cocos/core/load-pipeline/url.ts
# cocos/core/math/deprecated.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/scene-graph/base-node.ts
# cocos/core/scene-graph/scene-globals.ts
# cocos/terrain/terrain.ts
# predefine.ts
2020-06-03 13:25:42 +08:00
Yun Hsiao Wu
69c88434a4
Merge branch '3d-gfx' into 3d
2020-06-02 17:59:07 +08:00
jiaxin.lai
48ce494926
physics optimization ( #6768 )
...
* fix cannon shape center update
* add isA to differentiate the contact data
* sync optimize
* quat typing
* fix body sleeping state
* remove event after destroy
* typing
* fix time reset
* set mass default to 1
* skipBackFaces by default
* tweaks for ammo world step
* continue if sleeping
* checking before wake up
* Annotation specifications
* tweaks
* rename isA to isBodyA
* renaming
2020-05-28 13:39:15 +08:00
Yun Hsiao Wu
4629448659
skeletal animation: handle duplicated keys ( #6769 )
2020-05-27 18:34:54 +08:00
Yun Hsiao Wu
c16393974f
quat.prototype.slerp ( #6764 )
2020-05-27 17:47:57 +08:00
Yun Hsiao Wu
6df0bb5388
instance buffer: skip empty buffers ( #6761 )
2020-05-27 15:19:37 +08:00
Yun Hsiao Wu
4bed4fb6d1
fix quat.slerp ( #6760 )
2020-05-27 14:48:35 +08:00
Yun Hsiao Wu
b42de567af
fix skinning model pose calc when missing joint nodes ( #6721 )
...
* fix skinning model pose calc when missing joint nodes
* fix camera.worldToScreen when world pos is behind near plane
* fix batched skinning model material instantiation
2020-05-25 18:05:52 +08:00
Leslie Leigh (李的序)
5e2adea787
Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… ( #6680 )
...
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'
* Fix CI
* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
pandamicro
e849b7f3c6
Merge remote-tracking branch 'origin/3d-v1.1' into 3d-gfx
...
# Conflicts:
# cocos/core/3d/builtin/effects.ts
# cocos/core/game.ts
# cocos/core/gfx/webgl/webgl-commands.ts
# cocos/core/gfx/webgl2/webgl2-commands.ts
# cocos/core/math/mat4.ts
# cocos/core/renderer/scene/camera.ts
# cocos/core/splash-screen-webgl.ts
# cocos/core/splash-screen.ts
2020-04-28 17:06:07 +08:00
Yun Hsiao Wu
338738430d
projection matrix gfx adaptations ( #6540 )
...
* fix batched buffer resize
* projection matrix gfx adaptations
2020-04-13 21:26:34 +08:00
Yun Hsiao Wu
89a43b50e8
camera FOV axis ( #6501 )
...
* fov axis
* deprecation
2020-04-07 17:49:52 +08:00
ChiaNing
2c16f2119f
math lib global value remove ( #6446 )
2020-03-30 13:48:56 +08:00
Leslie Leigh (李的序)
9a6c49dd70
Add declare modifier to math classes ( #6445 )
...
* Add `declare` modifier to math classes
* Fix
2020-03-30 12:22:32 +08:00
Yun Hsiao Wu
31715a725a
fix quat.rotate ( #6396 )
2020-03-23 16:47:19 +08:00
jiaxin.lai
216cb739b4
fix set of color & clear color ( #6383 )
...
* fix set of color & clear color
* add protect
* tweaks
2020-03-20 19:16:42 +08:00
ChiaNing
5b5183b2a6
mat4 translate bug fix ( #6371 )
2020-03-19 15:43:26 +08:00
Yun Hsiao Wu
edd1189518
flexible skinning model ( #6131 )
...
* flexible skinning model
* skinning shader works on non-skinning models
* more opts
* UBO default values
* more opts
* update default joint
* more opts
* more opts
* unified skeletal animation component
* misc opts
* fix batched skinning model
* fix mesh interfaces
* texture buffer pool alignment
* move switch to skeletal animation component
* in-shader joint offset
* minor
2020-02-26 11:32:38 +08:00
pandamicro
b44dcc1115
Merge pull request #6220 from cocos-creator/3d-v1.0.4
...
Merge 3d v1.0.4
2020-02-25 10:12:28 +08:00
ChiaNing
c460e65e39
mat invert return change ( #6181 )
...
* mat invert return change
* add warn
* remove warn,add api doc
2020-02-21 10:19:39 +08:00
ChiaNing
8c1b380424
color hex bug fix ( #6180 )
2020-02-18 16:03:03 +08:00
jiaxin.lai
344d1eebde
Ammo-capsule ( #6159 )
...
* stash
* stash
* stash
* update @cocos/ammo to 1.0.1
* tweaks
* tweaks
2020-02-12 18:58:02 +08:00
Yun Hsiao Wu
fcf1aa57f0
fix node forward ( #6155 )
2020-02-11 18:02:50 +08:00
pandamicro
5fd66e43e0
Merge pull request #6127 from shrinktofit/fix-dts
...
Fix error definition
2020-02-08 23:52:48 +08:00
ChiaNing
5f2f153ebc
api doc update ( #6130 )
2020-02-08 23:44:36 +08:00
Unknown
3247738be5
Fix error definination
2020-01-19 18:18:03 +08:00
jiaxin.lai
21cc4351c6
builtin_capsule_collider ( #5970 )
...
* add bouding capsule
* add builtin capsule collider
* add apater for capsule shape
* fix circular dependency
* fix typing
* fix capsule_capsule algorithm
* api doc tweaks
* fix ci
2019-12-27 18:11:44 +08:00
Leslie Leigh (李的序)
7e2ec4f0f8
Fix that Quat constructor misbehaves when argument w is 0 ( #5957 )
2019-12-25 12:27:29 +08:00
JoneLau
a7115f18d3
fix spelling mistakes and wrong format ( #5888 )
2019-12-12 18:39:54 +08:00
Yun Hsiao Wu
f3b1010a73
skeletal sockets: don't change node transform unless necessary ( #5570 )
2019-10-21 11:13:41 +08:00
ftershock
de32d9b22d
API Doc update ( #5481 )
...
* update
* API Doc update
* API Doc update
* API Doc update
* API Doc update
2019-10-12 10:18:27 +08:00
ChiaNing
eb5b4fca12
API Doc fix ( #5480 )
2019-09-27 17:04:58 +08:00
Yun Hsiao Wu
473db86706
get default texture from effect first ( #5412 )
...
* vec3.transformInverseRTS
* linter fix
* get default texture from effect first
2019-09-18 16:58:09 +08:00
Yun Hsiao Wu
f7a5f70d67
fix node position update ( #5409 )
2019-09-18 16:05:28 +08:00
jiaxin.lai
3025fdcdd2
fix bug of center not update ( #5393 )
...
* modify api doc
* fix bug of center not update
2019-09-17 10:37:53 +08:00
Yun Hsiao Wu
9db6e9b49a
lazy eval memory heavy animation data conversions ( #5382 )
...
* fix interface
* lazy eval memory heavy animation data conversions
2019-09-12 18:35:29 +08:00
Yun Hsiao Wu
fdfcd89265
fix Vec3.cross ( #5371 )
2019-09-11 16:44:16 +08:00
Yun Hsiao Wu
ea923922ba
partial handle & Pass.getUniform ( #5356 )
...
* linter fix
* partial handle & getUniform
2019-09-10 10:35:02 +08:00
Yun Hsiao Wu
162ea8cb26
fix skybox ( #5347 )
...
* better ortho skybox
* skybox as camera clear flag
2019-09-06 18:00:58 +08:00
Lelie Leight (李的序)
fb77e09720
export what should be exported ( #5346 )
...
* export what should be exported
* fix
* fix
2019-09-06 15:13:45 +08:00
Yun Hsiao Wu
0d4bf98f61
wx audio global callbacks ( #5310 )
...
* some linter fix
* wx audio global callbacks
2019-09-02 04:30:08 -05:00
Yun Hsiao Wu
6e318f6545
fix setParent ( #5307 )
2019-09-02 01:36:28 -05:00